Home
last modified time | relevance | path

Searched refs:certificateChain (Results 1 – 21 of 21) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DProvisionedKey.java53 public byte[] certificateChain; field in ProvisionedKey
70 @NonNull byte[] publicKey, @NonNull byte[] certificateChain, in ProvisionedKey() argument
75 this.certificateChain = certificateChain; in ProvisionedKey()
87 && Arrays.equals(certificateChain, that.certificateChain) in equals()
98 result = 31 * result + Arrays.hashCode(certificateChain); in hashCode()
112 + ", certificateChain=" + Arrays.toString(certificateChain) in toString()
DRkpKey.java61 public ProvisionedKey generateProvisionedKey(byte[] certificateChain, Instant expirationTime) { in generateProvisionedKey() argument
62 return new ProvisionedKey(mKeyBlob, mIrpcHal, mPublicKey, certificateChain, expirationTime); in generateProvisionedKey()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKeyAttestationCertificateChainRecord.java37 public static KeyAttestationCertificateChainRecord create(List<byte[]> certificateChain) { in create() argument
38 Preconditions.checkNotNull(certificateChain); in create()
40 ImmutableList.copyOf(certificateChain)); in create()
50 List<byte[]> certificateChain = getCertificateChain(); in encode() local
54 for (byte[] certificate : certificateChain) { in encode()
DKeyAttestation.java118 Certificate[] certificateChain = mKeyStore.getCertificateChain(keyAlias); in getAttestationRecordFromKeyAlias() local
119 if (certificateChain == null) { in getAttestationRecordFromKeyAlias()
123 for (Certificate certificate : certificateChain) { in getAttestationRecordFromKeyAlias()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java249 X509Certificate[] certificateChain in getCertificateChain() local
251 if (certificateChain == null) { in getCertificateChain()
255 for (int i = 0; i < certificateChain.length; i++) { in getCertificateChain()
256 log("certificate[" + i + "]=" + certificateChain[i]); in getCertificateChain()
258 return certificateChain; in getCertificateChain()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/security/
DKeyAttestation.java146 Certificate[] certificateChain = keyStore.getCertificateChain(keyAlias); in getAttestationRecordFromKeyAlias() local
147 if (certificateChain == null) { in getAttestationRecordFromKeyAlias()
151 for (Certificate certificate : certificateChain) { in getAttestationRecordFromKeyAlias()
/packages/modules/Virtualization/service_vm/test_apk/aidl/com/android/virt/vm_attestation/testservice/
DIAttestationService.aidl52 byte[] certificateChain;
/packages/modules/Virtualization/microdroid_manager/aidl/android/system/virtualization/payload/
DIVmPayloadService.aidl65 Certificate[] certificateChain;
/packages/modules/Virtualization/service_vm/test_apk/src/native/
Dmain.rs111 return Ok(SigningResult { certificateChain: vec![], signature: vec![], status }); in signWithAttestationKey()
118 Ok(SigningResult { certificateChain: certificate_chain, signature, status }) in signWithAttestationKey()
/packages/modules/Virtualization/vm_payload/src/
Dlib.rs497 res.certificateChain.len() in AVmAttestationResult_getCertificateCount()
522 &res.certificateChain.get(index).expect("The index is out of bounds.").encodedCertificate; in AVmAttestationResult_getCertificateAt()
/packages/modules/Virtualization/service_vm/test_apk/src/java/com/android/virt/rkpd/vm_attestation/testapp/
DRkpdVmAttestationTest.java126 X509Utils.validateAndParseX509CertChain(signingResult.certificateChain); in usingProvisionedKeyForVmAttestationSucceeds()
/packages/modules/Virtualization/microdroid_manager/src/
Dvm_payload_service.rs97 certificateChain: cert_chain, in requestAttestation()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java301 private static X509Certificate[] castX509Certificates(Certificate[] certificateChain) { in castX509Certificates() argument
302 return Arrays.stream(certificateChain) in castX509Certificates()
/packages/modules/RemoteKeyProvisioning/app/tests/avf/src/com/android/avf/rkpdapp/e2etest/
DAvfIntegrationTest.java147 X509Certificate[] certs = X509Utils.formatX509Certs(attestationKey.certificateChain); in provisioningSucceeds()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DProvisionedKeyTest.java75 clone(origKey.certificateChain), clone(origKey.expirationTime)); in clone()
DRegistrationBinderTest.java108 && Arrays.equals(key.encodedCertChain, expected.certificateChain) in matches()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DProvisioner.java234 X509Certificate[] certChain = X509Utils.formatX509Certs(key.certificateChain); in checkAndDeleteBadKeys()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DCredential.java929 public void setClientCertificateChain(X509Certificate[] certificateChain) { in setClientCertificateChain() argument
930 mClientCertificateChain = certificateChain; in setClientCertificateChain()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRegistrationBinder.java137 key.encodedCertChain = assignedKey.certificateChain; in getKeyWorker()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DKeystoreIntegrationTest.java430 assertThat(attestationKey.certificateChain).isEqualTo(encodedCerts); in verifyCertificateChain()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java308 X509Utils.validateAndParseX509CertChain(signingResult.certificateChain); in checkVmAttestationWithValidChallenge()