Home
last modified time | relevance | path

Searched refs:MacedPublicKey (Results 1 – 7 of 7) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DSystemInterface.java21 import android.hardware.security.keymint.MacedPublicKey;
84 MacedPublicKey macedPublicKey = new MacedPublicKey(); in generateKey()
113 MacedPublicKey[] macedKeysToSign = keysToSign.stream() in generateCsr()
115 MacedPublicKey key = new MacedPublicKey(); in generateCsr()
118 }).toArray(MacedPublicKey[]::new); in generateCsr()
/packages/modules/Virtualization/virtualizationservice/src/
Dremote_provisioning.rs24 MacedPublicKey::MacedPublicKey,
67 macedPublicKey: &mut MacedPublicKey, in generateEcdsaP256KeyPair() argument
95 _keysToSign: &[MacedPublicKey], in generateCertificateRequest() argument
110 keysToSign: &[MacedPublicKey], in generateCertificateRequestV2() argument
Drkpvm.rs19 …_hardware_security_rkp::aidl::android::hardware::security::keymint::MacedPublicKey::MacedPublicKey;
46 keys_to_sign: &[MacedPublicKey], in generate_certificate_request() argument
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DSystemInterfaceTest.java37 import android.hardware.security.keymint.MacedPublicKey;
211 any(MacedPublicKey[].class), any(byte[].class), any(byte[].class), in testGenerateCSRPreV3P256()
213 verify(mockedComponent, never()).generateCertificateRequestV2(any(MacedPublicKey[].class), in testGenerateCSRPreV3P256()
236 any(MacedPublicKey[].class), any(byte[].class), any(byte[].class), in testGenerateCSRPreV3Ed25519()
238 verify(mockedComponent, never()).generateCertificateRequestV2(any(MacedPublicKey[].class), in testGenerateCSRPreV3Ed25519()
256 any(MacedPublicKey[].class), any(byte[].class), any(byte[].class), in testGenerateCSRv3()
258 verify(mockedComponent, times(1)).generateCertificateRequestV2(any(MacedPublicKey[].class), in testGenerateCSRv3()
390 ((MacedPublicKey) args[1]).macedKey = Base64.decode("g0BAWE2lAQIDJiABIVggUYCsz4+WjOwPU" in mockSystemInterface()
402 any(MacedPublicKey[].class), any(byte[].class), any(byte[].class), in mockSystemInterface()
405 when(mockedComponent.generateCertificateRequestV2(any(MacedPublicKey[].class), in mockSystemInterface()
/packages/modules/Virtualization/service_vm/comm/src/
Dmessage.rs23 type MacedPublicKey = Vec<u8>; typedef
237 pub keys_to_sign: Vec<MacedPublicKey>,
251 pub maced_public_key: MacedPublicKey,
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/
DRkpRegistrationCheck.java21 import android.hardware.security.keymint.MacedPublicKey;
288 MacedPublicKey[] macedKeysToSign = new MacedPublicKey[]{new MacedPublicKey()}; in generateCsr()
320 Array buildMac0MessageForV1Csr(MacedPublicKey macedKeyToSign, byte[] csrTag) in buildMac0MessageForV1Csr()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DCborUtils.java20 import android.hardware.security.keymint.MacedPublicKey;
354 MacedPublicKey macedPublicKey) throws CborException, RkpdException { in extractRkpKeyFromMacedKey()