Creates an instance of GcpKmsSigner. It's expected to call the static fromOptions
or fromVersionName method to create an instance.
For example:
const signer = await GcpKmsSigner.fromVersionName(versionName);
Retrieves the key scheme used by this signer.
GCP supports only Secp256k1 and Secp256r1 schemes.
Retrieves the public key associated with this signer.
The Secp256k1PublicKey instance.
Signs provided personal message by calling signWithIntent() with a PersonalMessage provided as intent scope
Signs provided transaction by calling signWithIntent() with a TransactionData provided as intent scope
Sign messages with a specific intent. By combining the message bytes with the intent before hashing and signing, it ensures that a signed message is tied to a specific purpose and domain separator is provided
StaticfromCreates a GCP KMS signer from the provided options. Expects the credentials file to be set as an env variable (GOOGLE_APPLICATION_CREDENTIALS).
Staticfrom
GCP KMS Signer integrates GCP Key Management Service (KMS) with the Sui blockchain to provide signing capabilities using GCP-managed cryptographic keys.