Home
last modified time | relevance | path

Searched refs:cryptoKeyId (Results 1 – 2 of 2) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/kms/gcp/
DKeyRingClient.java72 CryptoKey createCryptoKey(String cryptoKeyId) { in createCryptoKey() argument
73 return mClient.createCryptoKey(mKeyRingName, cryptoKeyId, CryptoKey.getDefaultInstance()); in createCryptoKey()
77 Optional<CryptoKey> findCryptoKey(String cryptoKeyId) { in findCryptoKey() argument
83 cryptoKeyId) in findCryptoKey()
91 Optional<CryptoKeyVersion> findCryptoKeyVersion(String cryptoKeyId) { in findCryptoKeyVersion() argument
92 return findCryptoKeyVersion(cryptoKeyId, "1"); in findCryptoKeyVersion()
96 Optional<CryptoKeyVersion> findCryptoKeyVersion(String cryptoKeyId, String versionId) { in findCryptoKeyVersion() argument
102 cryptoKeyId, in findCryptoKeyVersion()
105 return findCryptoKey(cryptoKeyId) in findCryptoKeyVersion()
128 String cryptoKeyId, in createCryptoKeyForImport() argument
[all …]
DGcpTestData.java39 static CryptoKeyVersionName getCryptoKeyVersionName(String cryptoKeyId) throws Exception { in getCryptoKeyVersionName() argument
41 return client.findCryptoKeyVersion(cryptoKeyId) in getCryptoKeyVersionName()
43 .orElseThrow(() -> new RuntimeException(cryptoKeyId + " does not exist")); in getCryptoKeyVersionName()