/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/security/ |
H A D | DataEncryptor.java | 90 Cipher cipher = Cipher.getInstance(encryptionAlgorithm); 91 cipher.init(Cipher.ENCRYPT_MODE, sKey); 92 byte[] encData = cipher.doFinal(data.getBytes("UTF-8")); 93 cipher = Cipher.getInstance(encKey.getAlgorithm()); 94 cipher.init(Cipher.WRAP_MODE, encKey); 95 byte[] keyWrap = cipher.wrap(sKey); 125 Cipher cipher = Cipher.getInstance(encKey.getAlgorithm()); 126 cipher.init(Cipher.UNWRAP_MODE, encKey); 127 Key secretKey = cipher.unwrap(keyData, encAlgorithm, 129 cipher [all...] |
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/security/ |
H A D | DataEncryptor.java | 90 Cipher cipher = Cipher.getInstance(encryptionAlgorithm); 91 cipher.init(Cipher.ENCRYPT_MODE, sKey); 92 byte[] encData = cipher.doFinal(data.getBytes("UTF-8")); 93 cipher = Cipher.getInstance(encKey.getAlgorithm()); 94 cipher.init(Cipher.WRAP_MODE, encKey); 95 byte[] keyWrap = cipher.wrap(sKey); 125 Cipher cipher = Cipher.getInstance(encKey.getAlgorithm()); 126 cipher.init(Cipher.UNWRAP_MODE, encKey); 127 Key secretKey = cipher.unwrap(keyData, encAlgorithm, 129 cipher [all...] |
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/ |
H A D | crypto.js | 34 exports.encrypt = function (value, cipher, alias) { 36 cipher = cipher || 'AES/CBC/PKCS5Padding'; 43 return openidm.encrypt(value, cipher, alias);
|
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/xmlenc/ |
H A D | FMEncProvider.java | 244 XMLCipher cipher = null; 252 cipher = XMLCipher.getInstance(XMLCipher.RSA_v1dot5); 255 cipher = XMLCipher.getInstance(XMLCipher.TRIPLEDES_KeyWrap); 259 cipher = XMLCipher.getInstance(XMLCipher.AES_128_KeyWrap); 267 "Unable to obtain cipher with public key algorithm.", xe1); 272 cipher.init(XMLCipher.WRAP_MODE, recipientPublicKey); 275 classMethod + "Failed to initialize cipher with public key", 283 encryptedKey = cipher.encryptKey(doc, secretKey); 296 cipher = XMLCipher.getInstance(dataEncAlgorithm); 299 classMethod + "Failed to obtain a cipher fo 684 getEncryptionKey(XMLCipher cipher, Set<PrivateKey> privateKeys, EncryptedKey encryptedKey, String algorithm) argument [all...] |
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/xmlenc/ |
H A D | FMEncProvider.java | 254 XMLCipher cipher = null; 264 cipher = XMLCipher.getInstance(XMLCipher.RSA_v1dot5); 267 cipher = XMLCipher.getInstance(XMLCipher.TRIPLEDES_KeyWrap); 271 cipher = XMLCipher.getInstance(XMLCipher.AES_128_KeyWrap); 280 "{} : Unable to obtain cipher with public key algorithm '{}'.", classMethod, publicKeyEncAlg, xe1); 285 cipher.init(XMLCipher.WRAP_MODE, recipientPublicKey); 288 classMethod + "Failed to initialize cipher with public key", 296 encryptedKey = cipher.encryptKey(doc, secretKey); 309 cipher = XMLCipher.getInstance(dataEncAlgorithm); 312 classMethod + "Failed to obtain a cipher fo 698 getEncryptionKey(XMLCipher cipher, Set<PrivateKey> privateKeys, EncryptedKey encryptedKey, String algorithm) argument [all...] |
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/xmlenc/ |
H A D | AMEncryptionProvider.java | 279 XMLCipher cipher = null; 283 cipher = XMLCipher.getInstance(XMLCipher.RSA_v1dot5); 286 cipher = XMLCipher.getInstance(XMLCipher.TRIPLEDES_KeyWrap); 291 cipher = XMLCipher.getInstance(XMLCipher.AES_128_KeyWrap); 293 cipher = XMLCipher.getInstance(XMLCipher.AES_192_KeyWrap); 295 cipher = XMLCipher.getInstance(XMLCipher.AES_256_KeyWrap); 307 cipher.init(XMLCipher.WRAP_MODE, kek); 308 EncryptedKey encryptedKey = cipher.encryptKey(doc, secretKey); 323 "AndReplace: Encrypted key = " + toString(cipher.martial( 328 cipher [all...] |
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/shared/security/crypto/ |
H A D | AESWrapEncryption.java | 115 Cipher cipher = CIPHER_PROVIDER.getCipher(); 116 cipher.init(Cipher.WRAP_MODE, new SecretKeySpec(encryptionKey.getEncoded(), "AES")); 117 final byte[] encrypted = cipher.wrap(new SecretKeySpec(pkcs5pad(rawData), "RAW")); 150 Cipher cipher = CIPHER_PROVIDER.getCipher(); 151 cipher.init(Cipher.UNWRAP_MODE, new SecretKeySpec(encryptionKey.getEncoded(), "AES")); 152 return pkcs5unpad(cipher.unwrap(data, "RAW", Cipher.SECRET_KEY).getEncoded()); 209 * underlying AESWrap cipher is authenticated so attempts to tamper with the padding should already be rejected
|
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/xmlenc/ |
H A D | AMEncryptionProvider.java | 277 XMLCipher cipher = null; 281 cipher = XMLCipher.getInstance(XMLCipher.RSA_v1dot5); 284 cipher = XMLCipher.getInstance(XMLCipher.TRIPLEDES_KeyWrap); 289 cipher = XMLCipher.getInstance(XMLCipher.AES_128_KeyWrap); 291 cipher = XMLCipher.getInstance(XMLCipher.AES_192_KeyWrap); 293 cipher = XMLCipher.getInstance(XMLCipher.AES_256_KeyWrap); 305 cipher.init(XMLCipher.WRAP_MODE, kek); 306 EncryptedKey encryptedKey = cipher.encryptKey(doc, secretKey); 321 "AndReplace: Encrypted key = " + toString(cipher.martial( 326 cipher [all...] |
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/crypto/ |
H A D | CryptoService.java | 35 * @param cipher 36 * the cipher with which to encrypt the value. 44 JsonEncryptor getEncryptor(String cipher, String alias) throws JsonCryptoException; argument 58 * @param cipher 59 * the cipher with which to encrypt the value. 63 * @return a copy of the value, encrypted with the specified cipher and key. 65 * if and invalid cipher and/or alias is provided. 69 JsonValue encrypt(JsonValue value, String cipher, String alias) throws JsonCryptoException, argument
|
/forgerock/openidm-v4/openidm-crypto/src/main/java/org/forgerock/openidm/crypto/impl/ |
H A D | Main.java | 132 // Instantiate the cipher 133 Cipher cipher = Cipher.getInstance(CRYPT_ALGORITHM); 134 cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(NON_SECRET_KEY, CRYPT_ALGORITHM)); 135 return buf.append(byteArrayToHexString(cipher.doFinal(s.getBytes()))).toString(); 142 // Instantiate the cipher 143 Cipher cipher = Cipher.getInstance(CRYPT_ALGORITHM); 144 cipher.init(Cipher.DECRYPT_MODE, new SecretKeySpec(NON_SECRET_KEY, CRYPT_ALGORITHM)); 145 return new String(cipher.doFinal(hexStringToByteArray(s)));
|
H A D | CryptoServiceImpl.java | 223 public JsonEncryptor getEncryptor(String cipher, String alias) throws JsonCryptoException { argument 230 return new SimpleEncryptor(cipher, key, alias); 239 public JsonValue encrypt(JsonValue value, String cipher, String alias) argument 243 JsonEncryptor encryptor = getEncryptor(cipher, alias);
|
/forgerock/openam-v13/openam-shared/src/main/java/com/iplanet/services/util/ |
H A D | JSSEncryption.java | 287 Cipher cipher = mToken.getCipherContext(encAlg); 298 cipher.initEncrypt(sk, ivSpec); 299 byte enc[] = cipher.doFinal(clearText); 345 Cipher cipher = mToken.getCipherContext(encAlg); 358 cipher.initDecrypt(sk, ivSpec); 359 byte dec[] = cipher.doFinal(share);
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/spi/ |
H A D | ReplayPasswd.java | 242 Cipher cipher = Cipher.getInstance(CIPHER_INSTANCE_NAME); 243 cipher.init(Cipher.ENCRYPT_MODE, keySpec); 249 byte[] ciphertext = cipher.doFinal(data);
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/spi/ |
H A D | ReplayPasswd.java | 242 Cipher cipher = Cipher.getInstance(CIPHER_INSTANCE_NAME); 243 cipher.init(Cipher.ENCRYPT_MODE, keySpec); 249 byte[] ciphertext = cipher.doFinal(data);
|
/forgerock/openidm-v4/openidm-provisioner-openicf/src/main/java/org/forgerock/openidm/provisioner/openicf/commons/ |
H A D | AttributeInfoHelper.java | 73 private final String cipher; field in class:AttributeInfoHelper 133 JsonValue c = schema.get("cipher"); 135 cipher = c.asString(); 137 cipher = ServerConstants.SECURITY_CRYPTOGRAPHY_DEFAULT_CIPHER; 177 cipher = null; 312 return cryptoService.encrypt(new JsonValue(resultValue), cipher, key).getObject();
|
/forgerock/opendj-b2.6/src/server/org/opends/server/crypto/ |
H A D | CryptoManagerImpl.java | 188 // The preferred cipher for the Directory Server. 191 // The preferred key length for the preferred cipher. 213 // The set of SSL cipher suites enabled or null for the default set. 328 // Requested encryption cipher validation. 385 // Requested secret key wrapping cipher and validation. Validation 386 // depends on MAC cipher for secret key. 401 to validate the choice of secret key wrapping cipher. Otherwise, call 1148 * Imports a cipher key entry from an entry in ADS. 1150 * @param entry The ADS cipher key entry to be imported. 1152 * the ds-cfg-cipher [all...] |
/forgerock/opendj2/src/server/org/opends/server/crypto/ |
H A D | CryptoManagerImpl.java | 191 /** The preferred cipher for the Directory Server. */ 194 /** The preferred key length for the preferred cipher. */ 216 /** The set of SSL cipher suites enabled or null for the default set. */ 330 // Requested encryption cipher validation. 387 // Requested secret key wrapping cipher and validation. Validation 388 // depends on MAC cipher for secret key. 403 to validate the choice of secret key wrapping cipher. Otherwise, call 1138 * Imports a cipher key entry from an entry in ADS. 1140 * @param entry The ADS cipher key entry to be imported. 1142 * the ds-cfg-cipher [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/crypto/ |
H A D | CryptoManagerImpl.java | 188 // The preferred cipher for the Directory Server. 191 // The preferred key length for the preferred cipher. 213 // The set of SSL cipher suites enabled or null for the default set. 328 // Requested encryption cipher validation. 385 // Requested secret key wrapping cipher and validation. Validation 386 // depends on MAC cipher for secret key. 401 to validate the choice of secret key wrapping cipher. Otherwise, call 1148 * Imports a cipher key entry from an entry in ADS. 1150 * @param entry The ADS cipher key entry to be imported. 1152 * the ds-cfg-cipher [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/crypto/ |
H A D | CryptoManagerImpl.java | 188 // The preferred cipher for the Directory Server. 191 // The preferred key length for the preferred cipher. 213 // The set of SSL cipher suites enabled or null for the default set. 328 // Requested encryption cipher validation. 385 // Requested secret key wrapping cipher and validation. Validation 386 // depends on MAC cipher for secret key. 401 to validate the choice of secret key wrapping cipher. Otherwise, call 1148 * Imports a cipher key entry from an entry in ADS. 1150 * @param entry The ADS cipher key entry to be imported. 1152 * the ds-cfg-cipher [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/crypto/ |
H A D | CryptoManagerImpl.java | 191 /** The preferred cipher for the Directory Server. */ 194 /** The preferred key length for the preferred cipher. */ 216 /** The set of SSL cipher suites enabled or null for the default set. */ 330 // Requested encryption cipher validation. 387 // Requested secret key wrapping cipher and validation. Validation 388 // depends on MAC cipher for secret key. 403 to validate the choice of secret key wrapping cipher. Otherwise, call 1138 * Imports a cipher key entry from an entry in ADS. 1140 * @param entry The ADS cipher key entry to be imported. 1142 * the ds-cfg-cipher [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/crypto/ |
H A D | CryptoManagerImpl.java | 187 /** The preferred cipher for the Directory Server. */ 190 /** The preferred key length for the preferred cipher. */ 212 /** The set of SSL cipher suites enabled or null for the default set. */ 309 // Requested encryption cipher validation. 362 // Requested secret key wrapping cipher and validation. Validation 363 // depends on MAC cipher for secret key. 378 to validate the choice of secret key wrapping cipher. Otherwise, call 1005 * Imports a cipher key entry from an entry in ADS. 1007 * @param entry The ADS cipher key entry to be imported. 1009 * the ds-cfg-cipher [all...] |
/forgerock/opendj2/ext/svnkit/lib/ |
H A D | trilead-ssh2-1.0.0-build217.jar | META-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt com/ com/trilead/ com/ ... |
/forgerock/opendj-b2.6/ext/svnkit/ |
H A D | trilead.jar | META-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt com/ com/trilead/ com/ ... |
/forgerock/opendj2.6.2/ext/svnkit/ |
H A D | trilead.jar | META-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt com/ com/trilead/ com/ ... |
/forgerock/opendj2-hg/ext/svnkit/lib/ |
H A D | trilead-ssh2-1.0.0-build217.jar | META-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt com/ com/trilead/ com/ ... |