Home
last modified time | relevance | path

Searched refs:csr (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Virtualization/rialto/tests/
Dtest.rs125 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/
Dapi_test.rs43 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/
Dvm_payload_service.rs76 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/
Dlib.rs52 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/
Dlib.rs22 mod csr; module
26 pub use csr::{Csr, CsrPayload};
Dmessage.rs77 pub csr: Vec<u8>, field
/packages/modules/Virtualization/service_vm/requests/src/
Dclient_vm.rs44 let csr = Csr::from_cbor_slice(&params.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/
Drkpvm.rs27 csr: Vec<u8>, in request_attestation()
32 ClientVmAttestationParams { csr, remotely_provisioned_key_blob, remotely_provisioned_cert }; in request_attestation()
Daidl.rs334 csr: &[u8], in requestAttestation()
394 csr.to_vec(), in requestAttestation()
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/
DRkpRegistrationCheck.java143 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/
DIVirtualMachineService.aidl58 Certificate[] requestAttestation(in byte[] csr, in boolean testMode); in requestAttestation() argument
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice_internal/
DIVirtualizationServiceInternal.aidl68 Certificate[] requestAttestation(in byte[] csr, int requesterUid, in boolean testMode); in requestAttestation() argument
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DServerInterface.java177 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/
Dconfiguration.proto52 optional bool csr = 1; field
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs1633 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/
Dcontroller_properties.cc1973 supports_csr_vendor_command = config.vendor().csr();