/frameworks/base/core/java/android/util/apk/ |
D | VerbatimX509Certificate.java | 37 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in VerbatimX509Certificate 47 byte[] a = this.getEncoded(); in equals() 48 byte[] b = ((VerbatimX509Certificate) o).getEncoded(); in equals() 59 mHash = Arrays.hashCode(this.getEncoded()); in hashCode()
|
D | WrappedX509Certificate.java | 149 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in WrappedX509Certificate 150 return mWrapped.getEncoded(); in getEncoded()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | ParcelUtilTest.java | 64 assertArrayEquals(writeKey.getEncoded(), readKey.getEncoded()); in readWriteValidPrivateKey() 84 assertArrayEquals(writeCert.getEncoded(), readCert.getEncoded()); in readWriteValidCertificate() 109 assertArrayEquals(writeCerts[i].getEncoded(), readCerts[i].getEncoded()); in readWriteValidCertificates()
|
D | WifiEnterpriseConfigTest.java | 391 assertArrayEquals(clientKey.getEncoded(), actualClientKey.getEncoded()); in parcelConfigWithKeyAndCerts() 395 assertArrayEquals(clientCert.getEncoded(), actualClientCert.getEncoded()); in parcelConfigWithKeyAndCerts() 402 assertArrayEquals(caCerts[i].getEncoded(), actualCaCerts[i].getEncoded()); in parcelConfigWithKeyAndCerts()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtilsTest.java | 93 assertEquals(RECOVERY_KEY_LENGTH_BITS / Byte.SIZE, key.getEncoded().length); in generateRecoveryKey_returnsA256BitKey() 101 assertFalse(Arrays.equals(a.getEncoded(), b.getEncoded())); in generateRecoveryKey_generatesANewKeyEachTime() 141 byte[] keyMaterial = KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() 144 assertArrayEquals(applicationKey.getEncoded(), keyMaterial); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() 158 byte[] keyMaterial = KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() 161 assertArrayEquals(applicationKey.getEncoded(), keyMaterial); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() 175 KeySyncUtils.decryptApplicationKey(KeySyncUtils.generateRecoveryKey().getEncoded(), in decryptApplicationKey_throwsIfUnableToDecrypt() 202 KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_throwsIfWrongMetadata() 209 KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_throwsIfWrongMetadata() 216 KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_throwsIfWrongMetadata() [all …]
|
D | WrappedKeyTest.java | 132 assertArrayEquals(appKey.getEncoded(), unwrappedKeys.get(alias).first.getEncoded()); in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() 151 assertArrayEquals(appKey.getEncoded(), unwrappedKeys.get(alias).first.getEncoded()); in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata()
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 577 return getSsp().getEncoded(); in getEncodedSchemeSpecificPart() 607 return getAuthorityPart().getEncoded(); in getEncodedAuthority() 627 return getPathPart().getEncoded(); in getEncodedPath() 667 return getQueryPart().getEncoded(); in getEncodedQuery() 704 return getFragmentPart().getEncoded(); in getEncodedFragment() 908 return ssp.getEncoded(); in getEncodedSchemeSpecificPart() 944 return fragment.getEncoded(); in getEncodedFragment() 986 sb.append('#').append(fragment.getEncoded()); in toString() 1088 return getUserInfoPart().getEncoded(); in getEncodedUserInfo() 1239 return getSsp().getEncoded(); in getEncodedSchemeSpecificPart() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtils.java | 132 /*payload=*/ recoveryKey.getEncoded()); in locallyEncryptRecoveryKey() 178 /*sharedSecret=*/ recoveryKey.getEncoded(), in encryptKeysWithRecoveryKey() 180 /*payload=*/ key.getEncoded()); in encryptKeysWithRecoveryKey()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ParcelUtil.java | 60 dest.writeByteArray(key.getEncoded()); in writePrivateKey() 97 certBytes = cert.getEncoded(); in writeCertificate()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | PasswordUtils.java | 68 return byteArrayToHex(key.getEncoded()); in buildPasswordHash() 119 return checksum.getEncoded(); in makeKeyChecksum()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ServiceProviderVerifierTest.java | 190 when(mX509Certificate.getEncoded()).thenReturn(testData.getBytes()); in testVerifyFingerPrintOfCertificateWithSameFingerPrintValueReturnTrue() 205 when(mX509Certificate.getEncoded()).thenReturn(testData.getBytes()); in testVerifyFingerPrintOfCertificateWithDifferentFingerPrintValueReturnFalse() 218 nameEntry.add(name.getEncoded(encoding)); in makeAltNames()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreCipherSpiBase.java | 599 encoded = key.getEncoded(); in engineWrap() 607 encoded = spec.getEncoded(); in engineWrap() 616 encoded = key.getEncoded(); in engineWrap() 623 encoded = spec.getEncoded(); in engineWrap() 632 encoded = key.getEncoded(); in engineWrap() 639 encoded = spec.getEncoded(); in engineWrap()
|
D | DelegatingX509Certificate.java | 154 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in DelegatingX509Certificate 155 return mDelegate.getEncoded(); in getEncoded()
|
D | AndroidKeyStoreRSAPublicKey.java | 39 this(alias, uid, info.getEncoded(), info.getModulus(), info.getPublicExponent()); in AndroidKeyStoreRSAPublicKey()
|
D | AndroidKeyStorePublicKey.java | 42 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStorePublicKey
|
D | AndroidKeyStoreECPublicKey.java | 41 this(alias, uid, info.getEncoded(), info.getParams(), info.getW()); in AndroidKeyStoreECPublicKey()
|
D | AndroidKeyStoreSpi.java | 406 userCertBytes = x509chain[0].getEncoded(); in setPrivateKeyEntry() 426 certsBytes[i] = x509chain[i + 1].getEncoded(); in setPrivateKeyEntry() 480 pkcs8EncodedPrivateKeyBytes = key.getEncoded(); in setPrivateKeyEntry() 642 byte[] keyMaterial = key.getEncoded(); in setSecretKeyEntry() 866 encoded = cert.getEncoded(); in engineSetCertificateEntry() 960 targetCertBytes = cert.getEncoded(); in engineGetCertificateAlias() 1109 original.getAlgorithm(), original.getEncoded()); in getPublicKey()
|
D | AndroidKeyStoreKey.java | 57 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStoreKey
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 79 mSignature = certificateChain[0].getEncoded(); in Signature() 229 chain[i++] = new Signature(c.getEncoded()); in getChainSignatures() 352 final Signature sPrime = new Signature(cert.getEncoded()); in bounce()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/ |
D | FingerprintMixer.java | 61 byte[] keyBytes = secretKey.getEncoded(); in FingerprintMixer()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyGeneratorTest.java | 60 assertThat(secretKey.getEncoded()).hasLength(KEY_SIZE_BITS / 8); in generate_generates256BitKeys()
|
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/ |
D | IkeCertX509CertPayload.java | 55 if (certificate.getEncoded().length < certData.length) { in IkeCertX509CertPayload()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | Credential.java | 1216 Arrays.equals(key1.getEncoded(), key2.getEncoded()); in isPrivateKeyEquals() 1239 result = Arrays.equals(cert1.getEncoded(), cert2.getEncoded()); in isX509CertificateEquals() 1289 byte[] fingerprint = digester.digest(certificate.getEncoded()); in verifySha256Fingerprint()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoveryCertPath.java | 102 return certPath.getEncoded(CERT_PATH_ENCODING); in encodeCertPath()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 93 byte[] privKeyData = config.getClientPrivateKey().getEncoded(); in installKeys() 206 byte[] privKeyData = key.getEncoded(); in putKeyInKeyStore()
|