Searched refs:geekResponse (Results 1 – 4 of 4) sorted by relevance
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | SystemInterfaceTest.java | 204 GeekResponse geekResponse = new GeekResponse(); in testGenerateCSRPreV3P256() local 205 geekResponse.addGeek(CborUtils.EC_CURVE_P256, eekChain); in testGenerateCSRPreV3P256() 206 geekResponse.setChallenge(new byte[]{0x02}); in testGenerateCSRPreV3P256() 208 byte[] csrTag = systemInterface.generateCsr(metrics, geekResponse, new ArrayList<>()); in testGenerateCSRPreV3P256() 225 GeekResponse geekResponse = new GeekResponse(); in testGenerateCSRPreV3Ed25519() local 230 geekResponse.addGeek(CborUtils.EC_CURVE_25519, eekChain); in testGenerateCSRPreV3Ed25519() 231 geekResponse.setChallenge(new byte[]{0x02}); in testGenerateCSRPreV3Ed25519() 233 byte[] csrTag = systemInterface.generateCsr(metrics, geekResponse, new ArrayList<>()); in testGenerateCSRPreV3Ed25519() 250 GeekResponse geekResponse = new GeekResponse(); in testGenerateCSRv3() local 251 geekResponse.setChallenge(new byte[]{0x02}); in testGenerateCSRv3() [all …]
|
D | ProvisionerTest.java | 111 GeekResponse geekResponse = new GeekResponse(); in testProvisionerUsesCorrectBatchSize() local 112 geekResponse.setChallenge(new byte[1]); in testProvisionerUsesCorrectBatchSize() 113 mProvisioner.provisionKeys(atom, mockSystem, geekResponse); in testProvisionerUsesCorrectBatchSize() 132 GeekResponse geekResponse = new GeekResponse(); in testProvisionerHandlesExceptionOnGetBatchSize() local 133 geekResponse.setChallenge(new byte[1]); in testProvisionerHandlesExceptionOnGetBatchSize() 136 mProvisioner.provisionKeys(atom, mockSystem, geekResponse)); in testProvisionerHandlesExceptionOnGetBatchSize()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/ |
D | Provisioner.java | 81 GeekResponse geekResponse) throws CborException, RkpdException, InterruptedException { in provisionKeys() argument 94 geekResponse); in provisionKeys() 127 SystemInterface systemInterface, GeekResponse geekResponse) in fetchCertificates() argument 140 certChains.addAll(batchProvision(metrics, systemInterface, geekResponse, in fetchCertificates()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/ |
D | SystemInterface.java | 109 public byte[] generateCsr(ProvisioningAttempt metrics, GeekResponse geekResponse, in generateCsr() argument 111 byte[] challenge = geekResponse.getChallenge(); in generateCsr() 123 byte[] geekChain = geekResponse.getGeekChain(mSupportedCurve); in generateCsr()
|