Package | Description |
---|---|
com.google.cloud.kms.v1 |
A client to Cloud Key Management Service (KMS) API
|
Modifier and Type | Method and Description |
---|---|
CryptoKeyVersionName |
CryptoKeyVersionName.Builder.build() |
static CryptoKeyVersionName |
CryptoKeyVersionName.of(String project,
String location,
String keyRing,
String cryptoKey,
String cryptoKeyVersion) |
static CryptoKeyVersionName |
CryptoKeyVersionName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<CryptoKeyVersionName> |
CryptoKeyVersionName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
AsymmetricDecryptResponse |
KeyManagementServiceClient.asymmetricDecrypt(CryptoKeyVersionName name,
ByteString ciphertext)
Decrypts data that was encrypted with a public key retrieved from
[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] corresponding to a
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_DECRYPT.
|
AsymmetricSignResponse |
KeyManagementServiceClient.asymmetricSign(CryptoKeyVersionName name,
Digest digest)
Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] ASYMMETRIC_SIGN, producing a
signature that can be verified with the public key retrieved from
[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
|
CryptoKeyVersion |
KeyManagementServiceClient.destroyCryptoKeyVersion(CryptoKeyVersionName name)
Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction.
|
CryptoKeyVersion |
KeyManagementServiceClient.getCryptoKeyVersion(CryptoKeyVersionName name)
Returns metadata for a given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
PublicKey |
KeyManagementServiceClient.getPublicKey(CryptoKeyVersionName name)
Returns the public key for the given [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
|
MacSignResponse |
KeyManagementServiceClient.macSign(CryptoKeyVersionName name,
ByteString data)
Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, producing a tag that can be
verified by another source with the same key.
|
MacVerifyResponse |
KeyManagementServiceClient.macVerify(CryptoKeyVersionName name,
ByteString data,
ByteString mac)
Verifies MAC tag using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns a response that
indicates whether or not the verification was successful.
|
CryptoKeyVersion |
KeyManagementServiceClient.restoreCryptoKeyVersion(CryptoKeyVersionName name)
Restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the
[DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]
state.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
CryptoKeyVersionName.toStringList(List<CryptoKeyVersionName> values) |
Copyright © 2022 Google LLC. All rights reserved.