/frameworks/base/core/java/android/util/apk/ |
D | VerbatimX509Certificate.java | 39 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in VerbatimX509Certificate 49 byte[] a = this.getEncoded(); in equals() 50 byte[] b = ((VerbatimX509Certificate) o).getEncoded(); in equals() 61 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()
|
D | ApkSignatureSchemeV3Verifier.java | 417 byte[] certificatePublicKeyBytes = mainCertificate.getPublicKey().getEncoded(); in verifySigner() 468 && !Arrays.equals(por.certs.get(por.certs.size() - 1).getEncoded(), in verifyAdditionalAttributes() 469 certChain[0].getEncoded())) { in verifyAdditionalAttributes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtilsTest.java | 96 assertEquals(RECOVERY_KEY_LENGTH_BITS / Byte.SIZE, key.getEncoded().length); in generateRecoveryKey_returnsA256BitKey() 104 assertFalse(Arrays.equals(a.getEncoded(), b.getEncoded())); in generateRecoveryKey_generatesANewKeyEachTime() 133 byte[] keyMaterial = KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() 136 assertArrayEquals(applicationKey.getEncoded(), keyMaterial); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() 150 byte[] keyMaterial = KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() 153 assertArrayEquals(applicationKey.getEncoded(), keyMaterial); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() 167 KeySyncUtils.decryptApplicationKey(KeySyncUtils.generateRecoveryKey().getEncoded(), in decryptApplicationKey_throwsIfUnableToDecrypt() 194 KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_throwsIfWrongMetadata() 201 KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_throwsIfWrongMetadata() 208 KeySyncUtils.decryptApplicationKey(recoveryKey.getEncoded(), in decryptApplicationKey_throwsIfWrongMetadata() [all …]
|
D | WrappedKeyTest.java | 131 assertArrayEquals(appKey.getEncoded(), unwrappedKeys.get(alias).first.getEncoded()); in decryptWrappedKeys_decryptsWrappedKeys_nullMetadata() 150 assertArrayEquals(appKey.getEncoded(), unwrappedKeys.get(alias).first.getEncoded()); in decryptWrappedKeys_decryptsWrappedKeys_nonNullMetadata()
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 586 return getSsp().getEncoded(); in getEncodedSchemeSpecificPart() 616 return getAuthorityPart().getEncoded(); in getEncodedAuthority() 636 return getPathPart().getEncoded(); in getEncodedPath() 676 return getQueryPart().getEncoded(); in getEncodedQuery() 713 return getFragmentPart().getEncoded(); in getEncodedFragment() 916 return ssp.getEncoded(); in getEncodedSchemeSpecificPart() 952 return fragment.getEncoded(); in getEncodedFragment() 994 sb.append('#').append(fragment.getEncoded()); in toString() 1096 return getUserInfoPart().getEncoded(); in getEncodedUserInfo() 1249 return getSsp().getEncoded(); in getEncodedSchemeSpecificPart() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | PasswordUtils.java | 70 return byteArrayToHex(key.getEncoded()); in buildPasswordHash() 117 return checksum.getEncoded(); in makeKeyChecksum()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/security/ |
D | VerityUtilsTest.java | 87 mCertificateDerEncoded = mCertificateHolder.getEncoded(); in setUp() 139 byte[] wrongCertificateDerEncoded = wrongCertificateHolder.getEncoded(); in testOnlyValidCertCanVerify() 194 assertFalse(verifySignature(pkcs7Signature, SAMPLE_DIGEST, certificateHolder.getEncoded())); in testRejectUnsupportedSignatureAlgorithms() 270 return cmsSignedData.toASN1Structure().getEncoded(ASN1Encoding.DL); in generatePkcs7SignatureInternal() 353 SubjectPublicKeyInfo.getInstance(publicKey.getEncoded()))
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtils.java | 134 /*payload=*/ recoveryKey.getEncoded()); in locallyEncryptRecoveryKey() 180 /*sharedSecret=*/ recoveryKey.getEncoded(), in encryptKeysWithRecoveryKey() 182 /*payload=*/ key.getEncoded()); in encryptKeysWithRecoveryKey()
|
D | RecoverableKeyGenerator.java | 118 return key.getEncoded(); in generateAndStoreKey()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | DelegatingX509Certificate.java | 154 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in DelegatingX509Certificate 155 return mDelegate.getEncoded(); in getEncoded()
|
/frameworks/base/core/tests/coretests/src/android/util/apk/ |
D | SourceStampVerifierTest.java | 104 MessageDigest.getInstance("SHA-256").digest(result.getCertificate().getEncoded()); in testSourceStamp_correctSignature() 195 MessageDigest.getInstance("SHA-256").digest(result.getCertificate().getEncoded()); in testSourceStamp_multiApk_validStamps() 226 MessageDigest.getInstance("SHA-256").digest(result.getCertificate().getEncoded()); in testSourceStamp_validStampLineage()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowKey.java | 65 return mKey.getEncoded(); in getKeyBytes()
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 84 mSignature = certificateChain[0].getEncoded(); in Signature() 249 chain[i++] = new Signature(c.getEncoded()); in getChainSignatures() 403 final Signature sPrime = new Signature(cert.getEncoded()); in bounce()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreCipherSpiBase.java | 727 encoded = key.getEncoded(); in engineWrap() 735 encoded = spec.getEncoded(); in engineWrap() 744 encoded = key.getEncoded(); in engineWrap() 751 encoded = spec.getEncoded(); in engineWrap() 760 encoded = key.getEncoded(); in engineWrap() 767 encoded = spec.getEncoded(); in engineWrap()
|
D | AndroidKeyStoreRSAPublicKey.java | 51 this(descriptor, metadata, info.getEncoded(), securityLevel, info.getModulus(), in AndroidKeyStoreRSAPublicKey()
|
D | AndroidKeyStorePublicKey.java | 55 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStorePublicKey
|
D | AndroidKeyStoreXDHPublicKey.java | 101 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStoreXDHPublicKey
|
D | AndroidKeyStoreKey.java | 101 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStoreKey
|
D | AndroidKeyStoreECPublicKey.java | 54 this(descriptor, metadata, info.getEncoded(), securityLevel, info.getParams(), info.getW()); in AndroidKeyStoreECPublicKey()
|
D | AndroidKeyStoreEdECPublicKey.java | 142 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStoreEdECPublicKey
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | RecoveryCertPath.java | 101 return certPath.getEncoded(CERT_PATH_ENCODING); in encodeCertPath()
|
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/ |
D | IkeSessionParamsUtils.java | 397 config.getClientEndCertificate().getEncoded())); in toPersistableBundle() 402 encodedCertList.add(cert.getEncoded()); in toPersistableBundle() 416 PersistableBundleUtils.fromByteArray(config.getPrivateKey().getEncoded())); in toPersistableBundle() 428 PersistableBundleUtils.fromByteArray(caCert.getEncoded())); in toPersistableBundle()
|
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/ |
D | KeyStoreUtils.java | 77 buffer.writeBytes(certificate.getEncoded()); in getEncodedCertificateChain()
|
/frameworks/base/core/java/android/security/ |
D | FileIntegrityManager.java | 175 certificate.getEncoded(), mContext.getOpPackageName()); in isAppSourceCertificateTrusted()
|