Searched refs:byteArray (Results 1 - 25 of 45) sorted by relevance

12

/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/csharpsource/Fedlet/Fedlet/source/Saml2/
H A DArtifact.cs83 byte[] byteArray = Convert.FromBase64String(this.artifact);
85 if (byteArray.Length != Artifact.RequiredByteLength)
90 this.TypeCode = BitConverter.ToString(byteArray, 0, 2).Replace("-", string.Empty);
91 this.EndpointIndex = BitConverter.ToString(byteArray, 2, 2).Replace("-", string.Empty);
92 this.SourceId = BitConverter.ToString(byteArray, 4, 20).Replace("-", string.Empty);
93 this.MessageHandle = BitConverter.ToString(byteArray, 24, 20).Replace("-", string.Empty);
H A DSaml2Utils.cs65 byte[] byteArray = Convert.FromBase64String(value);
66 return Encoding.UTF8.GetString(byteArray);
78 byte[] byteArray = Convert.FromBase64String(message);
81 StreamReader streamReader = new StreamReader(new DeflateStream(new MemoryStream(byteArray), CompressionMode.Decompress));
127 byte[] byteArray = new byte[Saml2Constants.IdLength];
128 random.GetBytes(byteArray);
129 string id = "S2" + BitConverter.ToString(byteArray).Replace("-", string.Empty);
259 byte[] byteArray = Convert.FromBase64String(decodedMessage);
262 StreamReader streamReader = new StreamReader(new DeflateStream(new MemoryStream(byteArray), CompressionMode.Decompress));
528 byte[] byteArray
[all...]
H A DIdentityProvider.cs98 byte[] byteArray = Encoding.UTF8.GetBytes(this.EncodedSigningCertificate);
99 this.signingCertificate = new X509Certificate2(byteArray);
/forgerock/openam/openam-federation/openam-federation-library/src/main/csharpsource/Fedlet/Fedlet/source/Saml2/
H A DArtifact.cs83 byte[] byteArray = Convert.FromBase64String(this.artifact);
85 if (byteArray.Length != Artifact.RequiredByteLength)
90 this.TypeCode = BitConverter.ToString(byteArray, 0, 2).Replace("-", string.Empty);
91 this.EndpointIndex = BitConverter.ToString(byteArray, 2, 2).Replace("-", string.Empty);
92 this.SourceId = BitConverter.ToString(byteArray, 4, 20).Replace("-", string.Empty);
93 this.MessageHandle = BitConverter.ToString(byteArray, 24, 20).Replace("-", string.Empty);
H A DSaml2Utils.cs65 byte[] byteArray = Convert.FromBase64String(value);
66 return Encoding.UTF8.GetString(byteArray);
78 byte[] byteArray = Convert.FromBase64String(message);
81 StreamReader streamReader = new StreamReader(new DeflateStream(new MemoryStream(byteArray), CompressionMode.Decompress));
127 byte[] byteArray = new byte[Saml2Constants.IdLength];
128 random.GetBytes(byteArray);
129 string id = "S2" + BitConverter.ToString(byteArray).Replace("-", string.Empty);
316 byte[] byteArray = Convert.FromBase64String(decodedMessage);
319 StreamReader streamReader = new StreamReader(new DeflateStream(new MemoryStream(byteArray), CompressionMode.Decompress));
620 byte[] byteArray
[all...]
H A DIdentityProvider.cs99 byte[] byteArray = Encoding.UTF8.GetBytes(this.EncodedSigningCertificate);
100 this.signingCertificate = new X509Certificate2(byteArray);
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/common/
H A DBase64ToHex.java59 byte[] byteArray = decoder.decode(inputString);
60 int readBytes = byteArray.length;
64 onebyte = ((0x000000ff & byteArray[i]) | 0xffffff00);
H A DHexToBase64.java58 byte[] byteArray = new byte[read/2];
61 byteArray[j] =
67 String encodedID = encoder.encode(byteArray).trim();
H A DSAMLUtilsCommon.java123 public static String byteArrayToHexString(byte[] byteArray) { argument
124 int readBytes = byteArray.length;
128 onebyte = ((0x000000ff & byteArray[i]) | 0xffffff00);
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml/common/
H A DBase64ToHex.java59 byte[] byteArray = decoder.decode(inputString);
60 int readBytes = byteArray.length;
64 onebyte = ((0x000000ff & byteArray[i]) | 0xffffff00);
H A DHexToBase64.java58 byte[] byteArray = new byte[read/2];
61 byteArray[j] =
67 String encodedID = encoder.encode(byteArray).trim();
H A DSAMLUtilsCommon.java123 public static String byteArrayToHexString(byte[] byteArray) { argument
124 int readBytes = byteArray.length;
128 onebyte = ((0x000000ff & byteArray[i]) | 0xffffff00);
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/util/
H A DSAMLUtils.java64 private String getHexString(byte[] byteArray) { argument
65 int readBytes = byteArray.length;
68 int onebyte = ((0x000000ff & byteArray[i]) | 0xffffff00);
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/
H A DByteArrayTest.java92 private final byte[] byteArray = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, }; field in class:ByteArrayTest
126 .appendZeroTerminatedByteArray(byteArray)
127 .appendByteArray(byteArray)
147 assertEquals(scanner.nextByteArray(byteArray.length), byteArray);
149 assertEquals(scanner.nextByteArray(byteArray.length), byteArray);
158 .appendByteArray(byteArray)
162 assertEquals(scanner.remainingBytes(), byteArray);
170 .appendZeroTerminatedByteArray(byteArray)
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/protocol/
H A DByteArrayTest.java92 private final byte[] byteArray = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, }; field in class:ByteArrayTest
126 .appendZeroTerminatedByteArray(byteArray)
127 .appendByteArray(byteArray)
147 assertEquals(scanner.nextByteArray(byteArray.length), byteArray);
149 assertEquals(scanner.nextByteArray(byteArray.length), byteArray);
158 .appendByteArray(byteArray)
162 assertEquals(scanner.remainingBytes(), byteArray);
170 .appendZeroTerminatedByteArray(byteArray)
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/protocol/
H A DByteArrayTest.java91 private final byte[] byteArray = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, }; field in class:ByteArrayTest
125 .appendZeroTerminatedByteArray(byteArray)
126 .appendByteArray(byteArray)
146 assertEquals(scanner.nextByteArray(byteArray.length), byteArray);
148 assertEquals(scanner.nextByteArray(byteArray.length), byteArray);
157 .appendByteArray(byteArray)
161 assertEquals(scanner.remainingBytes(), byteArray);
169 .appendZeroTerminatedByteArray(byteArray)
[all...]
/forgerock/opendj2/src/server/org/opends/server/replication/protocol/
H A DByteArrayScanner.java52 private final byte[] byteArray; field in class:ByteArrayScanner
64 this.byteArray = bytes;
313 final int length = byteArray.length - bytes.position();
327 final int length = byteArray.length - (bytes.position() + 1);
343 System.arraycopy(byteArray, bytes.position(), result, 0, length);
367 final int maxPos = byteArray.length - 1 /* stupid legacy zero separator */;
/forgerock/opendj2-hg/src/server/org/opends/server/replication/protocol/
H A DByteArrayScanner.java52 private final byte[] byteArray; field in class:ByteArrayScanner
64 this.byteArray = bytes;
313 final int length = byteArray.length - bytes.position();
327 final int length = byteArray.length - (bytes.position() + 1);
343 System.arraycopy(byteArray, bytes.position(), result, 0, length);
367 final int maxPos = byteArray.length - 1 /* stupid legacy zero separator */;
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/
H A DByteArrayScanner.java52 private final byte[] byteArray; field in class:ByteArrayScanner
64 this.byteArray = bytes;
313 final int length = byteArray.length - bytes.position();
327 final int length = byteArray.length - (bytes.position() + 1);
343 System.arraycopy(byteArray, bytes.position(), result, 0, length);
367 final int maxPos = byteArray.length - 1 /* stupid legacy zero separator */;
/forgerock/openam/openam-authentication/openam-auth-push/src/test/java/org/forgerock/openam/authentication/modules/push/
H A DUserPushDeviceProfileManagerTest.java91 String byteArray = userPushDeviceProfileManager.createRandomBytes(num);
96 assertThat(Base64.decode(byteArray)).hasSize(num);
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/storage/
H A DSharedPreferencesStorage.java165 byte[] byteArray = new byte[array.length()];
168 byteArray[i] = (byte) array.getInt(i);
170 return byteArray;
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/common/
H A DSAML2SDKUtils.java520 * @param byteArray Byte Array to be converted.
523 public static String byteArrayToHexString(byte[] byteArray) { argument
524 int readBytes = byteArray.length;
528 onebyte = ((0x000000ff & byteArray[i]) | 0xffffff00);
542 byte[] byteArray = new byte[read/2];
545 byteArray[j] =
550 return byteArray;
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/common/
H A DSAML2SDKUtils.java520 * @param byteArray Byte Array to be converted.
523 public static String byteArrayToHexString(byte[] byteArray) { argument
524 int readBytes = byteArray.length;
528 onebyte = ((0x000000ff & byteArray[i]) | 0xffffff00);
542 byte[] byteArray = new byte[read/2];
545 byteArray[j] =
550 return byteArray;
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/
H A DCachedSMSEntry.java462 byte[] byteArray = new byte[lengthOfStream];
463 xmlServiceSchema.read(byteArray, 0, lengthOfStream);
464 writeXMLSchema(token, new String(byteArray));
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/
H A DCachedSMSEntry.java441 byte[] byteArray = new byte[lengthOfStream];
442 xmlServiceSchema.read(byteArray, 0, lengthOfStream);
443 writeXMLSchema(token, new String(byteArray));

Completed in 370 milliseconds

12