Home
last modified time | relevance | path

Searched defs:privateKey (Results 1 – 25 of 34) sorted by relevance

12

/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeKePayloadTest.java170 PrivateKey privateKey = in testGetSharedKey1024Modp() local
212 PrivateKey privateKey = in testGetSharedKey1536Modp() local
227 PrivateKey privateKey = in testGetSharedkeyWithInvalidRemoteKey() local
265 PrivateKey privateKey = in testGetSharedKeyWithCurve25519() local
H A DIkeAuthDigitalSignPayloadTest.java164 private void verifySignAndEncode(PrivateKey privateKey) throws Exception { in verifySignAndEncode()
/aosp12/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/
H A DUtils.java105 public static Array encodeAndSignSign1Ed25519(byte[] encodedPublicKey, byte[] privateKey) in encodeAndSignSign1Ed25519()
121 byte[] protectedHeaders, byte[] payload, byte[] privateKey) throws Exception { in encodeAndSignSigStructure()
126 byte[] payload, byte[] privateKey) in encodeAndSignSigStructure()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeKePayload.java267 PrivateKey privateKey = keyPair.getPrivate(); in createOutboundCurveKePayload() local
315 public static byte[] getSharedKey(PrivateKey privateKey, byte[] remotePublicKey, int dhGroup) in getSharedKey()
332 PrivateKey privateKey, byte[] remotePublicKey, int dhGroup) in getModpSharedKey()
362 PrivateKey privateKey, byte[] remotePublicKey, int dhGroup) in getCurveSharedKey()
H A DIkeAuthDigitalSignPayload.java186 PrivateKey privateKey, in IkeAuthDigitalSignPayload()
/aosp12/system/extras/verity/
H A DVeritySigner.java64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); in main() local
H A DUtils.java274 static byte[] sign(PrivateKey privateKey, byte[] input) throws Exception { in sign()
/aosp12/frameworks/base/core/java/android/webkit/
H A DClientCertRequest.java73 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain); in proceed()
/aosp12/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
H A DIKeyChainServiceTestSupport.aidl36 …boolean installKeyPair(in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias… in installKeyPair()
/aosp12/build/make/tools/signapk/src/com/android/signapk/
H A DSignApk.java316 CMSTypedData data, X509Certificate publicKey, PrivateKey privateKey, int hash, in writeSignatureBlock()
732 private final PrivateKey privateKey; field in SignApk.CMSSigner
745 X509Certificate publicKey, PrivateKey privateKey, int hash, in CMSSigner()
805 X509Certificate publicKey, PrivateKey privateKey, in signWholeFile()
1141 PrivateKey[] privateKey = new PrivateKey[numKeys]; in main() local
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DSecureBoxTest.java323 PrivateKey privateKey = keyGen.genKeyPair().getPrivate(); in decrypt_invalidPrivateKey() local
/aosp12/packages/apps/KeyChain/robotests/src/com/android/keychain/
H A DKeyChainServiceRoboTest.java244 String privateKey = mKeyChain.requestPrivateKey(NON_EXISTING_ALIAS); in testRequestPrivateKeyReturnsNullForNonExistingAlias() local
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
H A DWifiConfigurationProviderTest.java392 String caCertificate, String userCertificate, String privateKey) { in assertEnterpriseConfig()
414 String privateKey) { in assertCertificateInformation()
/aosp12/build/make/tools/signtos/
H A DSignTos.java301 PrivateKey privateKey = readPrivateKey(new File(keyFilename)); in main() local
/aosp12/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreSignatureSpiBase.java105 protected final void engineInitSign(PrivateKey privateKey, SecureRandom random) in engineInitSign()
/aosp12/frameworks/base/keystore/java/android/security/
H A DIKeyChainService.aidl47 in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias, int uid); in installKeyPair()
/aosp12/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
H A DKeyChainTestActivity.java277 PrivateKey privateKey = KeyChain.getPrivateKey(KeyChainTestActivity.this, in getPrivateKey() local
/aosp12/hardware/interfaces/identity/support/tests/
H A DIdentityCredentialSupportTest.cpp354 optional<vector<uint8_t>> privateKey = support::ecPrivateKeyToKeyPair(privateUncompressed); in p256PrivateKeyFromD() local
359 const vector<uint8_t> privateKey) { in p256PrivateKeyGetXandY()
/aosp12/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java428 public void setChannelIdPrivateKey(PrivateKey privateKey) { in setChannelIdPrivateKey()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DFastPairGattServer.java396 PrivateKey privateKey = keyFactory.generatePrivate(ecPrivateKeySpec); in calculateAntiSpoofing() local
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DWifiEnterpriseConfig.java957 public void setClientKeyEntry(PrivateKey privateKey, X509Certificate clientCertificate) { in setClientKeyEntry()
979 public void setClientKeyEntryWithCertificateChain(PrivateKey privateKey, in setClientKeyEntryWithCertificateChain()
/aosp12/hardware/interfaces/identity/support/src/
H A DIdentityCredentialSupport.cpp923 vector<uint8_t> privateKey; in ecKeyPairGetPrivateKey() local
940 optional<vector<uint8_t>> ecPrivateKeyToKeyPair(const vector<uint8_t>& privateKey) { in ecPrivateKeyToKeyPair()
1243 const vector<uint8_t>& privateKey) { in ecdh()
2110 optional<vector<uint8_t>> calcEMacKey(const vector<uint8_t>& privateKey, in calcEMacKey()
/aosp12/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
H A DIkeSessionParamsUtils.java412 final PrivateKey privateKey = in setBuilderByReadingPersistableBundle() local
/aosp12/hardware/interfaces/identity/aidl/vts/
H A DReaderAuthTests.cpp118 optional<vector<uint8_t>> privateKey = support::ecKeyPairGetPrivateKey(keyPKCS8.value()); in generateReaderKey() local
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DIkeSessionParams.java983 @NonNull PrivateKey privateKey) { in IkeAuthDigitalSignLocalConfig()
1016 PrivateKey privateKey = in fromPersistableBundle() local

12