Searched defs:algorithm (Results 1 - 25 of 98) sorted by relevance

1234

/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A DFRAHotpOathMechanism.h39 * The algorithm used for generating the next hash code.
41 @property (nonatomic, readonly) CCHmacAlgorithm algorithm; variable
56 * @param algorithm The HMAC algorithm to use. Currently only MD5, SHA256, SHA512 and SHA1 are supported.
62 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLenght counter:(u_int64_t)counter;
70 * @param algorithm The HMAC algorithm to use. Currently only MD5, SHA256, SHA512 and SHA1 are supported.
76 + (instancetype)mechanismWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLength counter:(u_int64_t)counter;
H A DFRATotpOathMechanism.h39 * The algorithm used for generating the next hash code.
41 @property (nonatomic, readonly) CCHmacAlgorithm algorithm; variable
56 * @param algorithm The HMAC algorithm to use. Currently only MD5, SHA256, SHA512 and SHA1 are supported.
62 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLength period:(u_int32_t)period;
70 * @param algorithm The HMAC algorithm to use. Currently only MD5, SHA256, SHA512 and SHA1 are supported.
76 + (instancetype)mechanismWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLength period:(u_int32_t)period;
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/shared/security/crypto/
H A DKeyPairProvider.java29 * Given the algorithm and key size, provides a key pair instance.
31 * @param algorithm
32 * the algorithm
39 * if the algorithm is invalid
41 KeyPair getKeyPair(String algorithm, int keySize); argument
H A DKeyPairProviderImpl.java40 public KeyPair getKeyPair(String algorithm, int keySize) { argument
41 CacheKey cacheKey = new CacheKey(algorithm, keySize);
49 keyPair = newKeyPair(algorithm, keySize);
58 private KeyPair newKeyPair(String algorithm, int keySize) { argument
60 KeyPairGenerator generator = KeyPairGenerator.getInstance(algorithm);
64 throw new IllegalArgumentException("Unsupported key algorithm " + algorithm, nsaE);
70 private final String algorithm; field in class:KeyPairProviderImpl.CacheKey
73 CacheKey(String algorithm, int keySize) { argument
74 this.algorithm
[all...]
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/shared/security/crypto/
H A DKeyPairProvider.java29 * Given the algorithm and key size, provides a key pair instance.
31 * @param algorithm
32 * the algorithm
39 * if the algorithm is invalid
41 KeyPair getKeyPair(String algorithm, int keySize); argument
H A DKeyPairProviderImpl.java40 public KeyPair getKeyPair(String algorithm, int keySize) { argument
41 CacheKey cacheKey = new CacheKey(algorithm, keySize);
49 keyPair = newKeyPair(algorithm, keySize);
58 private KeyPair newKeyPair(String algorithm, int keySize) { argument
60 KeyPairGenerator generator = KeyPairGenerator.getInstance(algorithm);
64 throw new IllegalArgumentException("Unsupported key algorithm " + algorithm, nsaE);
70 private final String algorithm; field in class:KeyPairProviderImpl.CacheKey
73 CacheKey(String algorithm, int keySize) { argument
74 this.algorithm
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/tools/manifest/
H A DUtils.java67 * @param algorithm The string to indicate the hashing algorithm to be used.
72 public static byte[] getHash(String algorithm, InputStream in){ argument
74 MessageDigest md=MessageDigest.getInstance(algorithm);
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/util/
H A DFSSignatureManager.java96 * algorithm.
113 * @param algorithm signing algorithm
120 java.lang.String algorithm)
122 return sp.signBuffer(data, certAlias, algorithm);
129 * @param algorithm signing algorithm
137 java.lang.String algorithm,
140 return sp.verifySignature(data, signature, algorithm, cert);
118 signBuffer(java.lang.String data, java.lang.String certAlias, java.lang.String algorithm) argument
135 verifySignature(java.lang.String data, byte[] signature, java.lang.String algorithm, java.security.cert.X509Certificate cert) argument
H A DSignatureProviderSPI.java48 * algorithm.
63 * @param algorithm signing algorithm
70 String algorithm)
78 * @param algorithm signing algorithm
86 String algorithm,
68 signBuffer(String data, String certAlias, String algorithm) argument
84 verifySignature(String data, byte[] signature, String algorithm, X509Certificate cert) argument
H A DFSSignatureProvider.java74 * algorithm.
91 * @param algorithm signing algorithm
98 String algorithm)
116 if (algorithm == null || algorithm.length() == 0) {
117 algorithm = IFSConstants.DEF_SIG_ALGO_JCA;
120 + "algorithm is null assigning algorithm= "
121 + algorithm);
96 signBuffer(String data, String certAlias, String algorithm) argument
183 verifySignature(String data, byte[] signature, String algorithm, X509Certificate cert) argument
236 isValidAlgorithm(String algorithm) argument
[all...]
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/crypto/
H A DCryptoService.java77 * @param algorithm
78 * the hashing algorithm to use.
79 * @return a copy of the value, hashed with the specified algorithm and salt.
84 JsonValue hash(JsonValue value, String algorithm) throws JsonException, JsonCryptoException; argument
H A DFieldStorageSchemeImpl.java38 * This class defines a field storage scheme based on the provided algorithm. This is a one-way digest
39 * algorithm so there is no way to retrieve the original clear-text version of the field from the hashed
80 * @param algorithm the algorithm to use.
83 public FieldStorageSchemeImpl(int digestSize, String algorithm) throws Exception { argument
84 this.messageDigest = MessageDigest.getInstance(algorithm);
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openidconnect/
H A DOpenIdConnectTokenTest.java106 private KeyPair getSigningKeyPair(JwsAlgorithm algorithm) { argument
107 switch (algorithm) {
121 private Key getEncryptionKey(JweAlgorithm algorithm, EncryptionMethod encryptionMethod) { argument
122 if (algorithm == null) {
125 switch (algorithm) {
144 private Key getDecryptionKey(JweAlgorithm algorithm, EncryptionMethod encryptionMethod) { argument
145 if (algorithm == null) {
148 switch (algorithm) {
/forgerock/openam/openam-core/src/main/java/com/sun/identity/tools/manifest/
H A DUtils.java67 * @param algorithm The string to indicate the hashing algorithm to be used.
72 public static byte[] getHash(String algorithm, InputStream in){ argument
74 MessageDigest md=MessageDigest.getInstance(algorithm);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/utils/
H A DOpenAMSettings.java97 * @param algorithm The signing algorithm.
102 KeyPair getSigningKeyPair(String realm, JwsAlgorithm algorithm) throws SMSException, SSOException; argument
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/federation/services/util/
H A DFSSignatureManager.java96 * algorithm.
113 * @param algorithm signing algorithm
120 java.lang.String algorithm)
122 return sp.signBuffer(data, certAlias, algorithm);
129 * @param algorithm signing algorithm
137 java.lang.String algorithm,
140 return sp.verifySignature(data, signature, algorithm, cert);
118 signBuffer(java.lang.String data, java.lang.String certAlias, java.lang.String algorithm) argument
135 verifySignature(java.lang.String data, byte[] signature, java.lang.String algorithm, java.security.cert.X509Certificate cert) argument
H A DSignatureProviderSPI.java48 * algorithm.
63 * @param algorithm signing algorithm
70 String algorithm)
78 * @param algorithm signing algorithm
86 String algorithm,
68 signBuffer(String data, String certAlias, String algorithm) argument
84 verifySignature(String data, byte[] signature, String algorithm, X509Certificate cert) argument
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DFingerprintCertificateMapperTestCase.java102 "ds-cfg-fingerprint-algorithm: MD5",
113 "ds-cfg-fingerprint-algorithm: MD5",
136 "ds-cfg-fingerprint-algorithm: invalid",
148 "ds-cfg-fingerprint-algorithm: MD5",
249 * Tests a successful mapping using the SHA-1 digest algorithm.
471 * Tests to ensure that an attmept to remove the fingerprint algorithm will
484 "ds-cfg-fingerprint-algorithm"));
514 * Tests to ensure that an attmept to set an undefined fingerprint algorithm
624 * will use the specified fingerprint algorithm.
626 * @param algorithm Th
630 setFingerprintAlgorithm(String algorithm) argument
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DFingerprintCertificateMapperTestCase.java101 "ds-cfg-fingerprint-algorithm: MD5",
112 "ds-cfg-fingerprint-algorithm: MD5",
135 "ds-cfg-fingerprint-algorithm: invalid",
147 "ds-cfg-fingerprint-algorithm: MD5",
248 * Tests a successful mapping using the SHA-1 digest algorithm.
470 * Tests to ensure that an attmept to remove the fingerprint algorithm will
483 "ds-cfg-fingerprint-algorithm"));
513 * Tests to ensure that an attmept to set an undefined fingerprint algorithm
623 * will use the specified fingerprint algorithm.
625 * @param algorithm Th
629 setFingerprintAlgorithm(String algorithm) argument
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DFingerprintCertificateMapperTestCase.java102 "ds-cfg-fingerprint-algorithm: MD5",
113 "ds-cfg-fingerprint-algorithm: MD5",
136 "ds-cfg-fingerprint-algorithm: invalid",
148 "ds-cfg-fingerprint-algorithm: MD5",
249 * Tests a successful mapping using the SHA-1 digest algorithm.
471 * Tests to ensure that an attmept to remove the fingerprint algorithm will
484 "ds-cfg-fingerprint-algorithm"));
514 * Tests to ensure that an attmept to set an undefined fingerprint algorithm
624 * will use the specified fingerprint algorithm.
626 * @param algorithm Th
630 setFingerprintAlgorithm(String algorithm) argument
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DFingerprintCertificateMapperTestCase.java101 "ds-cfg-fingerprint-algorithm: MD5",
112 "ds-cfg-fingerprint-algorithm: MD5",
135 "ds-cfg-fingerprint-algorithm: invalid",
147 "ds-cfg-fingerprint-algorithm: MD5",
248 * Tests a successful mapping using the SHA-1 digest algorithm.
470 * Tests to ensure that an attmept to remove the fingerprint algorithm will
483 "ds-cfg-fingerprint-algorithm"));
513 * Tests to ensure that an attmept to set an undefined fingerprint algorithm
623 * will use the specified fingerprint algorithm.
625 * @param algorithm Th
629 setFingerprintAlgorithm(String algorithm) argument
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DFingerprintCertificateMapperTestCase.java102 "ds-cfg-fingerprint-algorithm: MD5",
113 "ds-cfg-fingerprint-algorithm: MD5",
136 "ds-cfg-fingerprint-algorithm: invalid",
148 "ds-cfg-fingerprint-algorithm: MD5",
249 * Tests a successful mapping using the SHA-1 digest algorithm.
471 * Tests to ensure that an attmept to remove the fingerprint algorithm will
484 "ds-cfg-fingerprint-algorithm"));
514 * Tests to ensure that an attmept to set an undefined fingerprint algorithm
624 * will use the specified fingerprint algorithm.
626 * @param algorithm Th
630 setFingerprintAlgorithm(String algorithm) argument
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/xmlenc/
H A DFMEncProvider.java101 * @param dataEncAlgorithm Data encryption algorithm.
140 * @param dataEncAlgorithm Data encryption algorithm.
201 "Data encryption algorithm " + dataEncAlgorithm +
247 /* note that the public key encryption algorithm could only
267 "Unable to obtain cipher with public key algorithm.", xe1);
300 "data encryption algorithm" + dataEncAlgorithm,
657 * Generates secret key for a given algorithm and key strength.
659 private SecretKey generateSecretKey(String algorithm, int keyStrength) argument
663 if (algorithm.equals(XMLCipher.AES_128) ||
664 algorithm
684 getEncryptionKey(XMLCipher cipher, Set<PrivateKey> privateKeys, EncryptedKey encryptedKey, String algorithm) argument
[all...]
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/openidconnect/
H A DOpenAMOpenIdConnectToken.java38 * @param algorithm The algorithm.
55 public OpenAMOpenIdConnectToken(String kid, byte[] clientSecret, KeyPair keyPair, String algorithm, String iss, argument
58 super(kid, clientSecret, keyPair, algorithm, iss, sub, aud, azp, exp, iat, authTime,
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-plugins/src/main/java/com/sun/identity/diagnostic/plugin/services/tamper/
H A DTamperDetectionUtils.java89 private static byte[] getHash(String algorithm, InputStream in) argument
91 MessageDigest md=MessageDigest.getInstance(algorithm);

Completed in 114 milliseconds

1234