/packages/modules/Virtualization/rialto/tests/ |
D | test.rs | 125 Response::GenerateCertificateRequest(csr) => check_csr(csr), in check_processing_generating_certificate_request() 156 csr: attestation_data.csr.clone().into_cbor_vec()?, in check_attestation_request() 173 &attestation_data.csr, in check_attestation_request() 215 csr: &Csr, in check_certificate_for_client_vm() 235 let cose_sign = CoseSign::from_slice(&csr.signed_csr_payload)?; in check_certificate_for_client_vm() 278 fn check_csr(csr: Vec<u8>) -> Result<()> { in check_csr() 279 let _csr = rkp::Csr::from_cbor(&Session::default(), &csr[..]).context("Failed to parse CSR")?; in check_csr()
|
/packages/modules/Virtualization/service_vm/comm/tests/ |
D | api_test.rs | 43 let csr = Csr { signed_csr_payload: DATA1.to_vec(), dice_cert_chain }; in csr_cbor_serialization() localVariable 44 let expected_csr = csr.clone(); in csr_cbor_serialization() 45 let cbor_vec = csr.into_cbor_vec().unwrap(); in csr_cbor_serialization()
|
/packages/modules/Virtualization/microdroid_manager/src/ |
D | vm_payload_service.rs | 76 let ClientVmAttestationData { private_key, csr } = in requestAttestation() 85 let csr = csr in requestAttestation() localVariable 94 let cert_chain = self.virtual_machine_service.requestAttestation(&csr, test_mode)?; in requestAttestation()
|
/packages/modules/Virtualization/service_vm/client_vm_csr/src/ |
D | lib.rs | 52 pub csr: Csr, field 64 let csr = build_csr(challenge, attestation_key.as_ref(), dice_artifacts)?; in generate_attestation_key_and_csr() localVariable 66 Ok(ClientVmAttestationData { private_key: Zeroizing::new(private_key), csr }) in generate_attestation_key_and_csr() 169 let ClientVmAttestationData { private_key, csr } = in csr_and_private_key_have_correct_format() 172 let cose_sign = CoseSign::from_slice(&csr.signed_csr_payload).unwrap(); in csr_and_private_key_have_correct_format() 184 let chain = dice::Chain::from_cbor(&session, &csr.dice_cert_chain)?; in csr_and_private_key_have_correct_format()
|
/packages/modules/Virtualization/service_vm/comm/src/ |
D | lib.rs | 22 mod csr; module 26 pub use csr::{Csr, CsrPayload};
|
D | message.rs | 77 pub csr: Vec<u8>, field
|
/packages/modules/Virtualization/service_vm/requests/src/ |
D | client_vm.rs | 44 let csr = Csr::from_cbor_slice(¶ms.csr)?; in request_attestation() localVariable 45 let cose_sign = CoseSign::from_slice(&csr.signed_csr_payload)?; in request_attestation() 53 &csr.dice_cert_chain, in request_attestation()
|
/packages/modules/Virtualization/virtualizationservice/src/ |
D | rkpvm.rs | 27 csr: Vec<u8>, in request_attestation() 32 ClientVmAttestationParams { csr, remotely_provisioned_key_blob, remotely_provisioned_cert }; in request_attestation()
|
D | aidl.rs | 334 csr: &[u8], in requestAttestation() 394 csr.to_vec(), in requestAttestation()
|
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/ |
D | RkpRegistrationCheck.java | 143 byte[] csr = generateCsr(binder, eekResponse); in checkNow() 144 X509Certificate[] certs = signCertificates(csr, eekResponse.getChallenge()); in checkNow() 215 X509Certificate[] signCertificates(byte[] csr, byte[] challenge) in signCertificates() argument 224 DataItem response = httpPost(uri, csr); in signCertificates()
|
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualmachineservice/ |
D | IVirtualMachineService.aidl | 58 Certificate[] requestAttestation(in byte[] csr, in boolean testMode); in requestAttestation() argument
|
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice_internal/ |
D | IVirtualizationServiceInternal.aidl | 68 Certificate[] requestAttestation(in byte[] csr, int requesterUid, in boolean testMode); in requestAttestation() argument
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/ |
D | ServerInterface.java | 177 public List<byte[]> requestSignedCertificates(byte[] csr, byte[] challenge, in requestSignedCertificates() argument 181 csr, Operation.SIGN_CERTS); in requestSignedCertificates()
|
/packages/modules/Bluetooth/tools/rootcanal/proto/rootcanal/ |
D | configuration.proto | 52 optional bool csr = 1; field
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | aidl.rs | 1633 fn requestAttestation(&self, csr: &[u8], test_mode: bool) -> binder::Result<Vec<Certificate>> { in requestAttestation() 1634 GLOBAL_SERVICE.requestAttestation(csr, get_calling_uid() as i32, test_mode) in requestAttestation()
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | controller_properties.cc | 1973 supports_csr_vendor_command = config.vendor().csr();
|