Buggy code:
; private static final short [ ] rc2Ekb = new short [ ] { 93 , 190 , 155 , 139 , 17 , 153 , 110 , 77 , 89 , 243 , 133 , 166 , 63 , 183 , 131 , 197 , 228 , 115 , 107 , 58 , 104 , 90 , 192 , 71 , 160 , 100 , 52 , 12 , 241 , 208 , 82 , 165 , 185 , 30 , 150 , 67 , 65 , 216 , 212 , 44 , 219 , 248 , 7 , 119 , 42 , 202 , 235 , 239 , 16 , 28 , 22 , 13 , 56 , 114 , 47 , 137 , 193 , 249 , 128 , 196 , 109 , 174 , 48 , 61 , 206 , 32 , 99 , 254 , 230 , 26 , 199 , 184 , 80 , 232 , 36 , 23 , 252 , 37 , 111 , 187 , 106 , 163 , 68 , 83 , 217 , 162 , 1 , 171 , 188 , 182 , 31 , 152 , 238 , 154 , 167 , 45 , 79 , 158 , 142 , 172 , 224 , 198 , 73 , 70 , 41 , 244 , 148 , 138 , 175 , 225 , 91 , 195 , 179 , 123 , 87 , 209 , 124 , 156 , 237 , 135 , 64 , 140 , 226 , 203 , 147 , 20 , 201 , 97 , 46 , 229 , 204 , 246 , 94 , 168 , 92 , 214 , 117 , 141 , 98 , 149 , 88 , 105 , 118 , 161 , 74 , 181 , 85 , 9 , 120 , 51 , 130 , 215 , 221 , 121 , 245 , 27 , 11 , 222 , 38 , 33 , 40 , 116 , 4 , 151 , 86 , 223 , 60 , 240 , 55 , 57 , 220 , 255 , 6 , 164 , 234 , 66 , 8 , 218 , 180 , 113 , 176 , 207 , 18 , 122 , 78 , 250 , 108 , 29 , 132 , 0 , 200 , 127 , 145 , 69 , 170 , 43 , 194 , 177 , 143 , 213 , 186 , 242 , 173 , 25 , 178 , 103 , 54 , 247 , 15 , 10 , 146 , 125 , 227 , 157 , 233 , 144 , 62 , 35 , 39 , 102 , 19 , 236 , 129 , 21 , 189 , 34 , 191 , 159 , 126 , 169 , 81 , 75 , 76 , 251 , 2 , 211 , 112 , 134 , 49 , 231 , 59 , 5 , 3 , 84 , 96 , 72 , 101 , 24 , 210 , 205 , 95 , 50 , 136 , 14 , 53 , 253 } ; private JcaJceExtHelper helper ; EnvelopedDataHelper ( JcaJceExtHelper helper ) { } String getBaseCipherName ( ASN1ObjectIdentifier algorithm ) { } Key getJceKey ( GenericKey key ) { } public Key getJceKey ( ASN1ObjectIdentifier algorithm , GenericKey key ) { } public void keySizeCheck ( AlgorithmIdentifier keyAlgorithm , Key key ) throws CMSException { } Cipher createCipher ( ASN1ObjectIdentifier algorithm ) throws CMSException { } Mac createMac ( ASN1ObjectIdentifier algorithm ) throws CMSException { } Cipher createRFC3211Wrapper ( ASN1ObjectIdentifier algorithm ) throws CMSException { } KeyAgreement createKeyAgreement ( ASN1ObjectIdentifier algorithm ) throws CMSException { try { String agreementName = ( ( String ) ( EnvelopedDataHelper . BASE_CIPHER_NAMES . get ( algorithm ) ) ) ; if ( agreementName != null ) { try { return helper . createKeyAgreement ( agreementName ) ; } catch ( NoSuchAlgorithmException e ) { } } return helper . createKeyAgreement ( algorithm . getId ( ) ) ; } catch ( GeneralSecurityException e ) { <START_BUG> throw new CMSException ( ( "cannot<seq2seq4repair_space>create<seq2seq4repair_space>key<seq2seq4repair_space>pair<seq2seq4repair_space>generator:<seq2seq4repair_space>" + ( e . getMessage ( ) ) ) , e ) ; <END_BUG> } } AlgorithmParameterGenerator createAlgorithmParameterGenerator ( ASN1ObjectIdentifier algorithm ) throws GeneralSecurityException { } public Cipher createContentCipher ( final Key sKey , final AlgorithmIdentifier encryptionAlgID ) throws CMSException { } Mac createContentMac ( final Key sKey , final AlgorithmIdentifier macAlgId ) throws CMSException { } AlgorithmParameters createAlgorithmParameters ( ASN1ObjectIdentifier algorithm ) throws NoSuchAlgorithmException , NoSuchProviderException { } KeyPairGenerator createKeyPairGenerator ( ASN1ObjectIdentifier algorithm ) throws CMSException { } public KeyGenerator createKeyGenerator ( ASN1ObjectIdentifier algorithm ) throws CMSException { } AlgorithmParameters generateParameters ( ASN1ObjectIdentifier encryptionOID , SecretKey encKey , SecureRandom rand ) throws CMSException { } AlgorithmIdentifier getAlgorithmIdentifier ( ASN1ObjectIdentifier encryptionOID , AlgorithmParameters params ) throws CMSException { }

Fix:
throw new CMSException ( ( "cannot<seq2seq4repair_space>create<seq2seq4repair_space>key<seq2seq4repair_space>agreement:<seq2seq4repair_space>" + ( e . getMessage ( ) ) ) , e ) ;