/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | ParcelUtilTest.java | 63 assertArrayEquals(writeKey.getEncoded(), readKey.getEncoded()); in readWriteValidPrivateKey() 83 assertArrayEquals(writeCert.getEncoded(), readCert.getEncoded()); in readWriteValidCertificate() 108 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/core/java/android/net/ |
D | Uri.java | 557 return getSsp().getEncoded(); in getEncodedSchemeSpecificPart() 587 return getAuthorityPart().getEncoded(); in getEncodedAuthority() 607 return getPathPart().getEncoded(); in getEncodedPath() 647 return getQueryPart().getEncoded(); in getEncodedQuery() 684 return getFragmentPart().getEncoded(); in getEncodedFragment() 888 return ssp.getEncoded(); in getEncodedSchemeSpecificPart() 924 return fragment.getEncoded(); in getEncodedFragment() 966 sb.append('#').append(fragment.getEncoded()); in toString() 1068 return getUserInfoPart().getEncoded(); in getEncodedUserInfo() 1210 return getSsp().getEncoded(); in getEncodedSchemeSpecificPart() [all …]
|
/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/base/core/java/android/content/pm/ |
D | Signature.java | 64 mSignature = certificateChain[0].getEncoded(); in Signature() 197 chain[i++] = new Signature(c.getEncoded()); in getChainSignatures() 297 final Signature sPrime = new Signature(cert.getEncoded()); in bounce()
|
/frameworks/base/keystore/java/android/security/ |
D | Credentials.java | 137 pw.writeObject(new PemObject("CERTIFICATE", o.getEncoded())); in convertToPem() 201 intent.putExtra(EXTRA_PRIVATE_KEY, pair.getPrivate().getEncoded()); in install() 202 intent.putExtra(EXTRA_PUBLIC_KEY, pair.getPublic().getEncoded()); in install()
|
D | SystemKeyStore.java | 84 byte[] retKey = sk.getEncoded(); in generateNewKey()
|
/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 | AndroidKeyStoreSpi.java | 387 userCertBytes = x509chain[0].getEncoded(); in setPrivateKeyEntry() 407 certsBytes[i] = x509chain[i + 1].getEncoded(); in setPrivateKeyEntry() 461 pkcs8EncodedPrivateKeyBytes = key.getEncoded(); in setPrivateKeyEntry() 623 byte[] keyMaterial = key.getEncoded(); in setSecretKeyEntry() 765 encoded = cert.getEncoded(); in engineSetCertificateEntry() 873 targetCertBytes = cert.getEncoded(); in engineGetCertificateAlias() 1019 original.getAlgorithm(), original.getEncoded()); in getPublicKey()
|
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 | AndroidKeyStoreKey.java | 57 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStoreKey
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 589 .getEncoded(); in generateSelfSignedCertificateBytes() 679 signature = new DERSequence().getEncoded(); in generateSelfSignedCertificateWithFakeSignature() 690 try (ASN1InputStream publicKeyInfoIn = new ASN1InputStream(publicKey.getEncoded())) { in generateSelfSignedCertificateWithFakeSignature() 696 new X509Principal(mSpec.getCertificateSubject().getEncoded()); in generateSelfSignedCertificateWithFakeSignature()
|
D | AndroidKeyStoreKeyFactorySpi.java | 85 T result = (T) new X509EncodedKeySpec(((AndroidKeyStorePublicKey) key).getEncoded()); in engineGetKeySpec()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | Credential.java | 1177 Arrays.equals(key1.getEncoded(), key2.getEncoded()); in isPrivateKeyEquals() 1192 result = Arrays.equals(cert1.getEncoded(), cert2.getEncoded()); in isX509CertificateEquals() 1242 byte[] fingerprint = digester.digest(certificate.getEncoded()); in verifySha256Fingerprint()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 90 byte[] privKeyData = config.getClientPrivateKey().getEncoded(); in installKeys() 203 byte[] privKeyData = key.getEncoded(); in putKeyInKeyStore()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | KeySetManagerServiceTest.java | 80 byte[] bArrayPk = keyA.getEncoded(); in testPublicKeyCertReprEquiv() 81 byte[] bArrayCert = sigA.getPublicKey().getEncoded(); in testPublicKeyCertReprEquiv() 85 bArrayPk = keyB.getEncoded(); in testPublicKeyCertReprEquiv() 86 bArrayCert = sigB.getPublicKey().getEncoded(); in testPublicKeyCertReprEquiv() 90 bArrayPk = keyC.getEncoded(); in testPublicKeyCertReprEquiv() 91 bArrayCert = sigC.getPublicKey().getEncoded(); in testPublicKeyCertReprEquiv()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockSyntheticPasswordManager.java | 100 return f.generateSecret(spec).getEncoded(); in scrypt()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ImsiEncryptionInfo.java | 133 byte[] b = publicKey.getEncoded(); in writeToParcel()
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 109 bundle.putByteArray(X509_CERTIFICATE, x509Certificate.getEncoded()); in saveState() 272 byte[] bytes = x509Certificate.getEncoded(); in getDigest()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 379 byte[] certificatePublicKeyBytes = mainCertificate.getPublicKey().getEncoded(); in verifySigner() 1137 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in ApkSignatureSchemeV2Verifier.VerbatimX509Certificate 1257 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in ApkSignatureSchemeV2Verifier.WrappedX509Certificate 1258 return wrapped.getEncoded(); in getEncoded()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierInfoManager.java | 102 byte[] keyBytes = imsiEncryptionInfo.getPublicKey().getEncoded(); in updateOrInsertCarrierKey()
|