ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asymmetricDecrypt(AsymmetricDecryptRequest request, String name, {String? $fields})
→ Future<AsymmetricDecryptResponse>
-
Decrypts data that was encrypted with a public key retrieved from
GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose
ASYMMETRIC_DECRYPT.
-
asymmetricSign(AsymmetricSignRequest request, String name, {String? $fields})
→ Future<AsymmetricSignResponse>
-
Signs data using a CryptoKeyVersion with CryptoKey.purpose
ASYMMETRIC_SIGN, producing a signature that can be verified with the
public key retrieved from GetPublicKey.
-
create(CryptoKeyVersion request, String parent, {String? $fields})
→ Future<CryptoKeyVersion>
-
Create a new CryptoKeyVersion in a CryptoKey.
-
destroy(DestroyCryptoKeyVersionRequest request, String name, {String? $fields})
→ Future<CryptoKeyVersion>
-
Schedule a CryptoKeyVersion for destruction.
-
get(String name, {String? $fields})
→ Future<CryptoKeyVersion>
-
Returns metadata for a given CryptoKeyVersion.
-
getPublicKey(String name, {String? $fields})
→ Future<PublicKey>
-
Returns the public key for the given CryptoKeyVersion.
-
import(ImportCryptoKeyVersionRequest request, String parent, {String? $fields})
→ Future<CryptoKeyVersion>
-
Import wrapped key material into a CryptoKeyVersion.
-
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? view, String? $fields})
→ Future<ListCryptoKeyVersionsResponse>
-
Lists CryptoKeyVersions.
-
macSign(MacSignRequest request, String name, {String? $fields})
→ Future<MacSignResponse>
-
Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing
a tag that can be verified by another source with the same key.
-
macVerify(MacVerifyRequest request, String name, {String? $fields})
→ Future<MacVerifyResponse>
-
Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and
returns a response that indicates whether or not the verification was
successful.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(CryptoKeyVersion request, String name, {String? updateMask, String? $fields})
→ Future<CryptoKeyVersion>
-
Update a CryptoKeyVersion's metadata.
-
rawDecrypt(RawDecryptRequest request, String name, {String? $fields})
→ Future<RawDecryptResponse>
-
Decrypts data that was originally encrypted using a raw cryptographic
mechanism.
-
rawEncrypt(RawEncryptRequest request, String name, {String? $fields})
→ Future<RawEncryptResponse>
-
Encrypts data using portable cryptographic primitives.
-
restore(RestoreCryptoKeyVersionRequest request, String name, {String? $fields})
→ Future<CryptoKeyVersion>
-
Restore a CryptoKeyVersion in the DESTROY_SCHEDULED state.
-
toString()
→ String
-
A string representation of this object.
inherited