Searched refs:counter (Results 1 - 25 of 216) sorted by relevance

123456789

/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DOathDeviceSettings.java35 private int counter; field in class:OathDeviceSettings
51 * @param counter The counter value, for HOTP algorithm usage. Non-null value.
53 public OathDeviceSettings(String sharedSecret, String deviceName, long lastLogin, int counter) { argument
57 setCounter(counter);
115 * Set the counter value for this device. This is relevant for authentication using the HOTP algorithm.
117 * @param counter The counter value. Can not be null.
119 public void setCounter(int counter) { argument
120 Reject.ifNull(counter, "counte
[all...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/oath/
H A DOathDeviceSettings.java35 private int counter; field in class:OathDeviceSettings
51 * @param counter The counter value, for HOTP algorithm usage. Non-null value.
53 public OathDeviceSettings(String sharedSecret, String deviceName, long lastLogin, int counter) { argument
58 setCounter(counter);
94 * Set the counter value for this device. This is relevant for authentication using the HOTP algorithm.
96 * @param counter The counter value. Can not be null.
98 public void setCounter(int counter) { argument
99 Reject.ifNull(counter, "counte
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/monitoring/
H A DSsoServerSAML2SvcImpl.java124 public void incIDPCounter (String realm, String idpName, String counter) { argument
151 if (counter.equals(SsoServerSAML2SvcImpl.IDP_ARTIF_CACHE)) {
153 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_ARTIF_ISSUED)) {
155 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_ASSERT_CACHE)) {
157 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_ASSERT_ISSUED)) {
159 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_RQTS_RCVD)) {
161 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_INVAL_RQTS_RCVD)) {
164 debug.error(classMethod + "unknown SAML2IDP counter: " + counter);
168 public void decIDPCounter (String realm, String idpName, String counter) { argument
204 incSPCounter(String realm, String spName, String counter) argument
[all...]
/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A DFRAHotpOathMechanism.m29 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLenght counter:(u_int64_t)counter {
35 _counter = counter;
41 + (instancetype)mechanismWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLength counter:(u_int64_t)counter {
42 return [[FRAHotpOathMechanism alloc] initWithDatabase:database identityModel:identityModel secretKey:secretKey HMACAlgorithm:algorithm codeLength:codeLength counter:counter];
50 _code = [FRAOathCode hmac:self.algorithm codeLength:self.codeLength key:self.secretKey counter:++_counter];
H A DFRAOathCode.h36 * @param counter The counter to hash.
40 + (NSString *)hmac:(CCHmacAlgorithm)algorithm codeLength:(uint8_t)codeLength key:(NSData *)key counter:(uint64_t) counter;
H A DFRAOathCode.m26 + (NSString *)hmac:(CCHmacAlgorithm)algorithm codeLength:(uint8_t)codeLength key:(NSData *)key counter:(uint64_t) counter {
29 counter = (((uint64_t) htonl(counter)) << 32) + htonl(counter >> 32);
40 CCHmac(algorithm, [key bytes], [key length], &counter, sizeof(counter), digest);
H A DFRAHotpOathMechanism.h43 * The HMAC counter which is used to generate the next hash code.
45 @property (nonatomic, readonly) u_int64_t counter; variable
58 * @param counter HOTP hash counter.
62 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLenght counter:(u_int64_t)counter;
72 * @param counter HOTP hash counter.
76 + (instancetype)mechanismWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel secretKey:(NSData *)secretKey HMACAlgorithm:(CCHmacAlgorithm)algorithm codeLength:(NSUInteger)codeLength counter:(u_int64_t)counter;
[all...]
H A DFRAOathMechanismFactory.m48 NSNumber *counter = parseCounter([query objectForKey:@"counter"]);
52 if(![self hasValidType:_type key:key issuer:issuer counter:counter algorithm:algorithm digits:_digits period:period backgroundColor:backgroundColor]) {
66 counter:counter.integerValue];
141 counter:(NSNumber *)counter
151 return counter;
181 counter
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/monitoring/
H A DSsoServerSAML2SvcImpl.java124 public void incIDPCounter (String realm, String idpName, String counter) { argument
151 if (counter.equals(SsoServerSAML2SvcImpl.IDP_ARTIF_CACHE)) {
153 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_ARTIF_ISSUED)) {
155 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_ASSERT_CACHE)) {
157 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_ASSERT_ISSUED)) {
159 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_RQTS_RCVD)) {
161 } else if (counter.equals(SsoServerSAML2SvcImpl.IDP_INVAL_RQTS_RCVD)) {
164 debug.error(classMethod + "unknown SAML2IDP counter: " + counter);
168 public void decIDPCounter (String realm, String idpName, String counter) { argument
204 incSPCounter(String realm, String spName, String counter) argument
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/monitoring/impl/
H A DFedletMonSAML2SvcProvider.java67 * @param counter the IDP counter to increment
69 public void incIDPCounter (String realm, String idpName, String counter) { argument
77 * @param counter the IDP counter to decrement
79 public void decIDPCounter (String realm, String idpName, String counter) { argument
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/monitoring/impl/
H A DFedletMonSAML2SvcProvider.java67 * @param counter the IDP counter to increment
69 public void incIDPCounter (String realm, String idpName, String counter) { argument
77 * @param counter the IDP counter to decrement
79 public void decIDPCounter (String realm, String idpName, String counter) { argument
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/monitoring/
H A DFedMonSAML2Svc.java55 * Increment the Federation (SP) session counter.
60 * Decrement the Federation (SP) session counter.
65 * Set the Federation (SP) session counter.
70 * Increment the IDP session counter.
75 * Decrement the IDP session counter.
80 * Set the IDP session counter.
85 * Increment a counter for an IDP in a realm.
88 * @param counter the IDP counter to increment
90 public void incIDPCounter (String realm, String idpName, String counter); argument
98 decIDPCounter(String realm, String idpName, String counter) argument
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/plugin/monitoring/
H A DFedMonSAML2Svc.java55 * Increment the Federation (SP) session counter.
60 * Decrement the Federation (SP) session counter.
65 * Set the Federation (SP) session counter.
70 * Increment the IDP session counter.
75 * Decrement the IDP session counter.
80 * Set the IDP session counter.
85 * Increment a counter for an IDP in a realm.
88 * @param counter the IDP counter to increment
90 public void incIDPCounter (String realm, String idpName, String counter); argument
98 decIDPCounter(String realm, String idpName, String counter) argument
[all...]
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/sun/identity/plugin/monitoring/impl/
H A DFedMonSAML2SvcProvider.java103 * @param counter the IDP counter to increment
105 public void incIDPCounter (String realm, String idpName, String counter) { argument
107 sSAML2Svc.incIDPCounter(realm, idpName, counter);
116 * @param counter the IDP counter to decrement
118 public void decIDPCounter (String realm, String idpName, String counter) { argument
120 sSAML2Svc.decIDPCounter(realm, idpName, counter);
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/plugin/monitoring/impl/
H A DFedMonSAML2SvcProvider.java103 * @param counter the IDP counter to increment
105 public void incIDPCounter (String realm, String idpName, String counter) { argument
107 sSAML2Svc.incIDPCounter(realm, idpName, counter);
116 * @param counter the IDP counter to decrement
118 public void decIDPCounter (String realm, String idpName, String counter) { argument
120 sSAML2Svc.decIDPCounter(realm, idpName, counter);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/utils/
H A DRecoveryCodeGenerator.java193 int counter = 0;
199 && counter++ <= retryMaximum);
201 if (counter >= retryMaximum) {
237 int counter = 0;
243 && counter++ <= retryMaximum);
245 if (counter >= retryMaximum) {
285 int counter = 0;
291 && counter++ <= retryMaximum);
293 if (counter >= retryMaximum) {
H A DForwardedHeader.java109 private int counter = 0;
113 return counter < header.length;
122 while (header[counter] == ' ') {
123 counter++;
127 while (counter < header.length) {
128 char currentChar = header[counter];
142 counter++;
148 counter++;
/forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/dashboard/
H A DDashboard.js40 var counter = 0,
54 "element" : holderList[counter],
58 counter++;
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/mechanisms/oath/
H A DOath.java64 private static final String COUNTER = "counter";
73 private long counter; field in class:Oath
80 long counter, int period, TimeKeeper keeper) {
86 this.counter = counter;
106 result.put(COUNTER, Long.toString(counter));
138 * Returns the value of the counter of this Oath.
142 return counter;
180 counter++;
182 return new TokenCode(timeKeeper, getHOTP(counter), cu
79 Oath(Identity owner, long id, String mechanismUID, TokenType type, String algo, byte[] secret, int digits, long counter, int period, TimeKeeper keeper) argument
194 getHOTP(long counter) argument
244 private long counter; field in class:Oath.OathBuilder
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/utils/
H A DForwardedHeader.java109 private int counter = 0;
113 return counter < header.length;
122 while (header[counter] == ' ') {
123 counter++;
127 while (counter < header.length) {
128 char currentChar = header[counter];
142 counter++;
148 counter++;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/
H A DID2ChildrenCount.java60 private final ShardedCounter counter; field in class:ID2ChildrenCount
65 this.counter = new ShardedCounter(name);
70 return transformKeysAndValues(counter.openCursor(txn),
82 * @param entryID The entryID identifying to the counter, which may be
84 * @param delta The value to add. Can be negative to decrease counter value.
96 * @param delta The value to add. Can be negative to decrease counter value.
104 counter.addCount(txn, toKey(entryID), delta);
120 counter.importPut(importer, toKey(entryID), delta);
135 return counter.valueToString(value);
147 * @param entryID The entryID identifying to the counter
[all...]
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/views/realms/authorization/common/
H A DStripedListEditingView.js69 counter = 0,
81 duplicateIndex = counter;
85 counter++;
/forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/mapping/util/
H A DMappingUtils.js70 counter = 0;
73 if(counter === 0) {
79 counter++;
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/views/realms/authorization/common/
H A DStripedListEditingView.js66 let counter = 0;
76 duplicateIndex = counter;
79 counter++;
/forgerock/openam-v13/openam-authentication/openam-auth-fr-oath/src/test/java/org/forgerock/openam/authentication/modules/fr/oath/
H A DJsonConversionUtilsTest.java62 int counter, boolean checksumDigit,
64 OathDeviceSettings oathDeviceSettings = new OathDeviceSettings(sharedSecret, deviceName, lastLogin, counter);
61 getOathDeviceSettingsObject(String sharedSecret, String deviceName, long lastLogin, int counter, boolean checksumDigit, int truncationOffset) argument

Completed in 1461 milliseconds

123456789