Searched refs:encoded (Results 1 - 25 of 64) sorted by relevance

123

/forgerock/authenticator-ios-v2/unit-tests/
H A Dbase32test.m63 char encoded[4096];
66 int resultLength = base32_encode(unencoded, length, encoded, sizeof(encoded));
69 NSString* result = [base32test keyToString:(unsigned char*)encoded withLength:resultLength];
78 char encoded[4096];
81 int resultLength = base32_encode(unencoded, length, encoded, sizeof(encoded));
84 NSString* result = [base32test keyToString:(unsigned char*)encoded withLength:resultLength];
93 char encoded[14];
96 int result = base32_encode(unencoded, length, encoded, 1
[all...]
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/encode/
H A DBase64.java60 public static byte[] decode(char[] encoded) { argument
61 return org.forgerock.util.encode.Base64.decode(encoded);
64 public static byte[] decode(String encoded) { argument
65 return org.forgerock.util.encode.Base64.decode(encoded.toCharArray());
68 public static byte[] decodeFast(byte[] encoded) { argument
69 return org.forgerock.util.encode.Base64.decodeFast(encoded);
72 public static byte[] decodeFast(char[] encoded) { argument
73 return org.forgerock.util.encode.Base64.decodeFast(encoded);
76 public static byte[] decodeFast(String encoded) { argument
77 return org.forgerock.util.encode.Base64.decodeFast(encoded
[all...]
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/encode/
H A DBase64.java60 public static byte[] decode(char[] encoded) { argument
61 return org.forgerock.util.encode.Base64.decode(encoded);
64 public static byte[] decode(String encoded) { argument
65 return org.forgerock.util.encode.Base64.decode(encoded.toCharArray());
68 public static byte[] decodeFast(byte[] encoded) { argument
69 return org.forgerock.util.encode.Base64.decodeFast(encoded);
72 public static byte[] decodeFast(char[] encoded) { argument
73 return org.forgerock.util.encode.Base64.decodeFast(encoded);
76 public static byte[] decodeFast(String encoded) { argument
77 return org.forgerock.util.encode.Base64.decodeFast(encoded
[all...]
/forgerock/authenticator-android-v2/app/src/main/java/com/google/android/apps/authenticator/
H A DBase32String.java67 public static byte[] decode(String encoded) throws DecodingException { argument
68 return getInstance().decodeInternal(encoded);
71 protected byte[] decodeInternal(String encoded) throws DecodingException { argument
73 encoded = encoded.trim().replaceAll(SEPARATOR, "").replaceAll(" ", "");
78 encoded = encoded.replaceFirst("[=]*$", "");
81 encoded = encoded.toUpperCase(Locale.US);
82 if (encoded
[all...]
/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A Dbase32.h23 * String to be encoded is assumed to be ASCII characters.
33 base32_decode(const char *encoded, uint8_t *result, int bufSize);
H A Dbase32.c23 * The RFC defines that encoding is performed in quantums of 8 encoded
39 * Decode a base32 encoded string into the provided buffer.
44 * Handles padding symbols at the end of the encoded input string.
47 * encoded - A null terminated char* containing the encoded base32
54 int base32_decode(const char *encoded, uint8_t *result, int bufSize) { argument
59 for (; count < bufSize && *encoded; ++encoded) {
60 char ch = *encoded;
102 * If the encoded strin
[all...]
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/
H A DSessionIDIntegrationTest.java37 final String encoded = SessionID.makeSessionID("", extensions, null);
40 final LegacySessionIDExtensions result = new LegacySessionIDExtensions(encoded);
70 final String encoded = SessionID.makeSessionID("", extensions, null);
73 new LegacySessionIDExtensions(encoded);
81 String encoded = "This isn't valid Base64";
84 new LegacySessionIDExtensions(encoded);
99 String encoded = Base64.encode(baos.toByteArray());
102 new LegacySessionIDExtensions(encoded);
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/
H A DSessionIDIntegrationTest.java37 final String encoded = SessionID.makeSessionID("", extensions, null);
40 final LegacySessionIDExtensions result = new LegacySessionIDExtensions(encoded);
70 final String encoded = SessionID.makeSessionID("", extensions, null);
73 new LegacySessionIDExtensions(encoded);
81 String encoded = "This isn't valid Base64";
84 new LegacySessionIDExtensions(encoded);
99 String encoded = Base64.encode(baos.toByteArray());
102 new LegacySessionIDExtensions(encoded);
/forgerock/openam-v13/openam-shared/src/main/java/com/iplanet/services/util/
H A DCrypt.java196 * The string to be encoded.
197 * @return The encoded string.
209 * The string to be encoded.
210 * @return The encoded string.
221 * @param encoded
225 public static String decrypt(String encoded) { argument
226 return decode(encoded);
234 * @param encoded
238 public static String decryptLocal(String encoded) { argument
239 return decode(encoded, localEncrypto
316 decode(String encoded, AMEncryption encr) argument
374 decode(String encoded) argument
[all...]
H A DJSSEncryption.java58 * The format of the encoded byte before BASE64 encoding is
63 * The rest is the encoded bytes.
254 * @param clearText The string to be encoded.
255 * @return The encoded string.
263 * @param encoded The string to be decoded.
266 public byte[] decrypt(byte[] encoded){ argument
267 return decode(encoded);
272 * @param clearText The string to be encoded.
273 * @return The encoded string.
311 * Decode an encoded strin
316 decode(byte[] encoded) argument
[all...]
/forgerock/openam/openam-shared/src/main/java/com/iplanet/services/util/
H A DCrypt.java196 * The string to be encoded.
197 * @return The encoded string.
209 * The string to be encoded.
210 * @return The encoded string.
221 * @param encoded
225 public static String decrypt(String encoded) { argument
226 return decode(encoded);
234 * @param encoded
238 public static String decryptLocal(String encoded) { argument
239 return decode(encoded, localEncrypto
316 decode(String encoded, AMEncryption encr) argument
374 decode(String encoded) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/setup/
H A DJCECrypt.java137 private static String decode(String encoded, AMEncryption encr) { argument
138 if (encoded == null || encoded.length() == 0) {
146 encData = Base64.decode(encoded.trim());
167 * Decode an encoded string
169 * @param encoded
170 * The encoded string.
173 public static String decode(String encoded) { argument
174 return decode(encoded, encryptor);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/
H A DJCECrypt.java137 private static String decode(String encoded, AMEncryption encr) { argument
138 if (encoded == null || encoded.length() == 0) {
146 encData = Base64.decode(encoded.trim());
167 * Decode an encoded string
169 * @param encoded
170 * The encoded string.
173 public static String decode(String encoded) { argument
174 return decode(encoded, encryptor);
/forgerock/openam-v13/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/common/
H A DSAML2UtilsTest.java50 String encoded = SAML2Utils.encodeForRedirect(randomString);
51 String decoded = SAML2Utils.decodeFromRedirect(URLEncDec.decode(encoded));
/forgerock/openam/openam-federation/openam-federation-library/src/test/java/com/sun/identity/saml2/common/
H A DSAML2UtilsTest.java50 String encoded = SAML2Utils.encodeForRedirect(randomString);
51 String decoded = SAML2Utils.decodeFromRedirect(URLEncDec.decode(encoded));
/forgerock/opendj2-jel-hg/src/server/org/opends/server/extensions/
H A DCryptPasswordStorageScheme.java376 byte[] encoded = null;
381 encoded = SunMd5Crypt.encode(plain, stored);
382 return storedPassword.equals(encoded, 0, encoded.length);
390 if (encoded != null) Arrays.fill(encoded, (byte) 0);
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/shared/security/whitelist/
H A DRedirectUrlValidator.java150 * If the queryParameters contain the "encoded" parameter, then the result is Base64 decoded before
164 String encoded = request.getParameter("encoded");
165 if (Boolean.parseBoolean(encoded)) {
168 DEBUG.warning("As parameter 'encoded' is true, parameter ['{}']='{}' should be base64 encoded",
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/shared/security/whitelist/
H A DRedirectUrlValidator.java154 * If the queryParameters contain the "encoded" parameter, then the result is Base64 decoded before
168 String encoded = request.getParameter("encoded");
169 if (Boolean.parseBoolean(encoded)) {
173 + "As parameter 'encoded' is true, parameter ['{}']='{}' should be base64 encoded",
/forgerock/web-agents-v4/tests/
H A Dtest_utility.c333 char* encoded = base64_encode(in, &length); local
334 assert_non_null(encoded);
335 assert_string_equal(encoded, out);
344 encoded = base64_encode(richard3, &length);
345 decoded = base64_decode(encoded, &length);
347 assert_string_equal(encoded, r3_out);
387 char* encoded = base64_encode(key, &length); local
388 assert_non_null(encoded);
389 encrypt_password(encoded, &result);
395 decrypt_password(encoded,
521 char* encoded = url_encode(buff); local
[all...]
/forgerock/openam-v13/openam-oauth/samples/StockClient/lib/
H A Doauth-signature-1.1.5-ea-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ com/ com/sun/ com/sun/jersey/ ...
/forgerock/openam-v13/openam-oauth/samples/StockService/lib/
H A Doauth-signature-1.1.5-ea-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ com/ com/sun/ com/sun/jersey/ ...
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/
H A DWSFederationMetaSecurityUtils.java364 * Restores Base64 encoded format.
391 String encoded = xmlstr.substring(index + 20, indexEnd);
392 int encodedLength = encoded.length();
397 sb.append(encoded.substring(i, i + 76)).append("\n");
403 sb.append(encoded.substring(i, encodedLength))
417 * @param certAlias alias of certificate to be encoded.
418 * @return Base64 encoded certificate
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/wsfederation/meta/
H A DWSFederationMetaSecurityUtils.java365 * Restores Base64 encoded format.
392 String encoded = xmlstr.substring(index + 20, indexEnd);
393 int encodedLength = encoded.length();
398 sb.append(encoded.substring(i, i + 76)).append("\n");
404 sb.append(encoded.substring(i, encodedLength))
418 * @param certAlias alias of certificate to be encoded.
419 * @return Base64 encoded certificate
/forgerock/web-agents-v4/source/
H A Dadmin.c240 char *encoded = NULL, key[37]; local
243 encoded = base64_encode(key, &sz);
244 fprintf(stdout, "\nEncryption key value: %s\n\n", encoded);
245 am_free(encoded);
418 char* encoded; local
474 encoded = base64_encode(key, &sz);
475 install_log("updating %s with %s", AM_INSTALL_KEY, encoded);
476 rv = string_replace(&agent_conf_template, AM_INSTALL_KEY, encoded, &agent_conf_template_sz);
479 am_free(encoded);
486 am_free(encoded);
[all...]
/forgerock/openam-v13/openam-common-auth-ui/src/main/java/com/sun/identity/authentication/UI/
H A DAuthViewBeanBase.java59 "goto", "encoded", "IDtoken0", "IDtoken1", "IDtoken2", "IDButton", "AMAuthCookie", "IDToken3"
202 * @param encoded value of "encoded" parameter to tell wheather
203 * the inputURL is already encoded or not
207 public String getValidatedInputURL(String inputURL, String encoded, argument
211 if (Boolean.parseBoolean(encoded)) {

Completed in 96 milliseconds

123