Home
last modified time | relevance | path

Searched refs:getEncoded (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/wifi/tests/src/android/net/wifi/
DParcelUtilTest.java63 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()
DWifiEnterpriseConfigTest.java391 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/
DUri.java557 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/
DParcelUtil.java60 dest.writeByteArray(key.getEncoded()); in writePrivateKey()
97 certBytes = cert.getEncoded(); in writeCertificate()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DPasswordUtils.java68 return byteArrayToHex(key.getEncoded()); in buildPasswordHash()
119 return checksum.getEncoded(); in makeKeyChecksum()
/frameworks/base/core/java/android/content/pm/
DSignature.java64 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/
DCredentials.java137 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()
DSystemKeyStore.java84 byte[] retKey = sk.getEncoded(); in generateNewKey()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java599 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()
DDelegatingX509Certificate.java154 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in DelegatingX509Certificate
155 return mDelegate.getEncoded(); in getEncoded()
DAndroidKeyStoreSpi.java387 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()
DAndroidKeyStoreRSAPublicKey.java39 this(alias, uid, info.getEncoded(), info.getModulus(), info.getPublicExponent()); in AndroidKeyStoreRSAPublicKey()
DAndroidKeyStorePublicKey.java42 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStorePublicKey
DAndroidKeyStoreECPublicKey.java41 this(alias, uid, info.getEncoded(), info.getParams(), info.getW()); in AndroidKeyStoreECPublicKey()
DAndroidKeyStoreKey.java57 public byte[] getEncoded() { in getEncoded() method in AndroidKeyStoreKey
DAndroidKeyStoreKeyPairGeneratorSpi.java589 .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()
DAndroidKeyStoreKeyFactorySpi.java85 T result = (T) new X509EncodedKeySpec(((AndroidKeyStorePublicKey) key).getEncoded()); in engineGetKeySpec()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java1177 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/
DWifiKeyStore.java90 byte[] privKeyData = config.getClientPrivateKey().getEncoded(); in installKeys()
203 byte[] privKeyData = key.getEncoded(); in putKeyInKeyStore()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetManagerServiceTest.java80 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/
DMockSyntheticPasswordManager.java100 return f.generateSecret(spec).getEncoded(); in scrypt()
/frameworks/base/telephony/java/android/telephony/
DImsiEncryptionInfo.java133 byte[] b = publicKey.getEncoded(); in writeToParcel()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java109 bundle.putByteArray(X509_CERTIFICATE, x509Certificate.getEncoded()); in saveState()
272 byte[] bytes = x509Certificate.getEncoded(); in getDigest()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java379 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/
DCarrierInfoManager.java102 byte[] keyBytes = imsiEncryptionInfo.getPublicKey().getEncoded(); in updateOrInsertCarrierKey()

12