/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
X509PublicKey.java | 25 private final byte[] keyBytes; 27 public X509PublicKey(String algorithm, byte[] encoded, byte[] keyBytes) { 30 this.keyBytes = keyBytes; 51 // buf.append(Arrays.toString(keyBytes));
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
KerberosKeyTest.java | 43 private final byte[] keyBytes = new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 53 assertNull(new KerberosKey(null, keyBytes, 0, 0).getPrincipal()); 55 // NPE for null keyBytes parameter 63 KerberosKey key = new KerberosKey(principal, keyBytes, 1, 123); 71 key = new KerberosKey(principal, keyBytes, 0, 0); 121 KerberosKey key = new KerberosKey(principal, keyBytes, 1, 123); 124 assertTrue("encoded", Arrays.equals(keyBytes, keyBytes1)); 127 assertNotSame("keyBytes immutability 1 ", keyBytes, keyBytes1); 128 assertNotSame("keyBytes immutability 2 ", keyBytes1, key.getEncoded()) [all...] |
KerberosTicketTest.java | 325 byte[] keyBytes = sKey.getEncoded(); 327 assertTrue(Arrays.equals(sessionKey, keyBytes));
|
/frameworks/base/core/java/android/net/nsd/ |
DnsSdTxtRecord.java | 70 byte[] keyBytes; 83 keyBytes = key.getBytes("US-ASCII"); 89 for (int i = 0; i < keyBytes.length; i++) { 90 if (keyBytes[i] == '=') { 95 if (keyBytes.length + valLen >= 255) { 103 insert(keyBytes, valBytes, currentLoc); 168 private void insert(byte[] keyBytes, byte[] value, int index) { 178 avLen = keyBytes.length + valLen + (value != null ? 1 : 0); 186 System.arraycopy(keyBytes, 0, mData, insertion + 1, keyBytes.length) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
RC4Engine.java | 110 private void setKey(byte[] keyBytes) 112 workingKey = keyBytes; 135 i2 = ((keyBytes[i1] & 0xff) + engineState[i] + i2) & 0xff; 140 i1 = (i1+1) % keyBytes.length;
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
HMAC_SHA1.java | 69 byte[] keyBytes = keyString.getBytes(ENCODING); 70 this.key = new SecretKeySpec(keyBytes, MAC_NAME);
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 32 private final byte[] keyBytes = { 127, -2, -95, -39, 35, 118, 121, -92 }; 38 key = new SecretKeySpec(keyBytes, "DES");
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
SkiaFontWin.cpp | 69 unsigned keyBytes; 70 memcpy(&keyBytes, &key.font, sizeof(unsigned)); 71 return keyBytes + key.glyph;
|
/external/bouncycastle/src/main/java/org/bouncycastle/openssl/ |
PEMReader.java | 212 byte[] keyBytes = obj.getContent(); 232 keyBytes = PEMUtilities.crypt(false, provider, keyBytes, password, dekAlgName, iv); 237 return (ASN1Sequence)ASN1Object.fromByteArray(keyBytes);
|
/external/icu4c/tools/genrb/ |
reslist.h | 92 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status);
|
reslist.c | [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 615 byte[] keyBytes = key.getBytes(); 616 totalSize += INTEGER_BYTE_COUNT + keyBytes.length; 617 values[backedUpSettingIndex * 2] = keyBytes;
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
X509KeyManagerTest.java | 108 byte[] keyBytes = new byte[] { [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar | |
/libcore/luni/src/main/native/ |
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | [all...] |
/prebuilts/tools/common/http-client/ |
httpclient-4.1.1.jar | |