Home
last modified time | relevance | path

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

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DProvisioner.java28 import com.android.rkpdapp.database.RkpKey;
91 List<RkpKey> keysGenerated = generateKeys(metrics, keysRequired, systemInterface); in provisionKeys()
115 private List<RkpKey> generateKeys(ProvisioningAttempt metrics, int numKeysRequired, in generateKeys()
118 List<RkpKey> keyArray = new ArrayList<>(numKeysRequired); in generateKeys()
126 private List<byte[]> fetchCertificates(ProvisioningAttempt metrics, List<RkpKey> keysGenerated, in fetchCertificates()
149 GeekResponse response, List<RkpKey> keysGenerated) in batchProvision()
166 List<RkpKey> keysGenerated) throws RkpdException { in associateCertsWithKeys()
178 for (RkpKey key : keysGenerated) { in associateCertsWithKeys()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DSystemInterface.java30 import com.android.rkpdapp.database.RkpKey;
83 public RkpKey generateKey(ProvisioningAttempt metrics) throws CborException, RkpdException { in generateKey()
110 List<RkpKey> keysToSign) throws CborException, RkpdException { in generateCsr()
127 for (RkpKey key: keysToSign) { in generateCsr()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DRkpKey.java26 public final class RkpKey { class
33 public RkpKey(byte[] keyBlob, byte[] macedPublicKey, DataItem coseKey, String irpcHal, in RkpKey() method in RkpKey
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DProvisionerTest.java41 import com.android.rkpdapp.database.RkpKey;
72 private static final RkpKey FAKE_RKP_KEY = new RkpKey(FAKE_RKP_KEY_BLOB_1, new byte[2],
DPeriodicProvisionerTests.java43 import com.android.rkpdapp.database.RkpKey;
72 private static final RkpKey FAKE_RKP_KEY = new RkpKey(new byte[1], new byte[2], new Array(),
DSystemInterfaceTest.java51 import com.android.rkpdapp.database.RkpKey;
157 RkpKey rkpKey = systemInterface.generateKey(metrics); in testGenerateKey()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DCborUtils.java27 import com.android.rkpdapp.database.RkpKey;
353 public static RkpKey extractRkpKeyFromMacedKey(byte[] privKey, String serviceName, in extractRkpKeyFromMacedKey()
369 return new RkpKey(privKey, macedPublicKey.macedKey, keyMap, serviceName, rawKey); in extractRkpKeyFromMacedKey()