Searched defs:codeLength (Results 1 - 10 of 10) sorted by relevance

/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A DFRAHotpOathMechanism.h29 @property (nonatomic, readonly) NSUInteger codeLength; variable
62 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLenght counter:(u_int64_t)counter;
71 * @param codeLength The length of the code.
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.h29 @property (nonatomic, readonly) NSUInteger codeLength; variable
57 * @param codeLength The length of the code.
62 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLength period:(u_int32_t)period;
71 * @param codeLength The length of the code.
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-authentication/openam-auth-fr-oath/src/main/java/org/forgerock/openam/authentication/modules/fr/oath/
H A DAuthenticatorAppRegistrationURIBuilder.java40 private final int codeLength; field in class:AuthenticatorAppRegistrationURIBuilder
50 * @param codeLength The length of the OTP. Must be set to 6 or 8, as per Authenticator app.
53 public AuthenticatorAppRegistrationURIBuilder(AMIdentity id, String secretHex, int codeLength, String issuer) { argument
57 Reject.ifTrue((codeLength < MIN_CODE_LENGTH), "code length must be " + MIN_CODE_LENGTH + " or greater");
65 this.codeLength = codeLength;
113 "?secret=" + secretBase32 + "&issuer=" + issuer + "&digits=" + codeLength;
/forgerock/openam/openam-authentication/openam-auth-fr-oath/src/main/java/org/forgerock/openam/authentication/modules/fr/oath/
H A DAuthenticatorAppRegistrationURIBuilder.java42 private final int codeLength; field in class:AuthenticatorAppRegistrationURIBuilder
52 * @param codeLength The length of the OTP. Must be set to 6 or 8, as per Authenticator app.
55 public AuthenticatorAppRegistrationURIBuilder(AMIdentity id, String secretHex, int codeLength, String issuer) { argument
59 Reject.ifTrue((codeLength < MIN_CODE_LENGTH), "code length must be " + MIN_CODE_LENGTH + " or greater");
67 this.codeLength = codeLength;
116 + "&digits=" + codeLength,
122 + issuer + "&digits=" + codeLength;
/forgerock/openam-v13/openam-authentication/openam-auth-hotp/src/main/java/com/sun/identity/authentication/modules/hotp/
H A DHOTPParams.java50 private final int codeLength; field in class:HOTPParams
58 int codeLength, String messageSubject, String messageContent, String fromAddressAttributeName) {
60 emailLdapAttributeName, codeDelivery, config, codeLength, messageSubject, messageContent, fromAddressAttributeName,
67 final Map<?, ?> config, final int codeLength, final String messageSubject,
77 this.codeLength = codeLength;
113 return codeLength;
56 HOTPParams(String gatewaySMSImplClass, long codeValidityDuration, String telephoneLdapAttributeName, String carrierLdapAttributeName, String emailLdapAttributeName, String codeDelivery, Map<?, ?> config, int codeLength, String messageSubject, String messageContent, String fromAddressAttributeName) argument
64 HOTPParams(final String gatewaySMSImplClass, final long codeValidityDuration, final String telephoneLdapAttributeName, final String carrierLdapAttributeName, final String emailLdapAttributeName, final String codeDelivery, final Map<?, ?> config, final int codeLength, final String messageSubject, final String messageContent, final String fromAddressAttributeName, final Set<String> userSearchAttributes) argument
H A DHOTPService.java75 private final int codeLength; field in class:HOTPService
97 this.codeLength = hotpParams.getCodeLength();
123 sentHOTPCode = HOTPAlgorithm.generateOTP(getSharedSecret(), getMovingFactor(), codeLength, false, 16);
H A DHOTP.java85 private String codeLength = null; field in class:HOTP
114 codeLength = CollectionHelper.getMapAttr(options, CODELENGTH);
171 Integer.parseInt(codeLength), bundle.getString("messageSubject"), bundle.getString("messageContent"),
/forgerock/openam/openam-authentication/openam-auth-hotp/src/main/java/com/sun/identity/authentication/modules/hotp/
H A DHOTPParams.java50 private final int codeLength; field in class:HOTPParams
58 int codeLength, String messageSubject, String messageContent, String fromAddressAttributeName) {
60 emailLdapAttributeName, codeDelivery, config, codeLength, messageSubject, messageContent, fromAddressAttributeName,
67 final Map<?, ?> config, final int codeLength, final String messageSubject,
77 this.codeLength = codeLength;
113 return codeLength;
56 HOTPParams(String gatewaySMSImplClass, long codeValidityDuration, String telephoneLdapAttributeName, String carrierLdapAttributeName, String emailLdapAttributeName, String codeDelivery, Map<?, ?> config, int codeLength, String messageSubject, String messageContent, String fromAddressAttributeName) argument
64 HOTPParams(final String gatewaySMSImplClass, final long codeValidityDuration, final String telephoneLdapAttributeName, final String carrierLdapAttributeName, final String emailLdapAttributeName, final String codeDelivery, final Map<?, ?> config, final int codeLength, final String messageSubject, final String messageContent, final String fromAddressAttributeName, final Set<String> userSearchAttributes) argument
H A DHOTPService.java77 private final int codeLength; field in class:HOTPService
99 this.codeLength = hotpParams.getCodeLength();
125 sentHOTPCode = HOTPAlgorithm.generateOTP(getSharedSecret(), getMovingFactor(), codeLength, false, 16);
H A DHOTP.java85 private String codeLength = null; field in class:HOTP
114 codeLength = CollectionHelper.getMapAttr(options, CODELENGTH);
171 Integer.parseInt(codeLength), bundle.getString("messageSubject"), bundle.getString("messageContent"),

Completed in 990 milliseconds