Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SignBlobResponse

import type { SignBlobResponse } from "https://googleapis.deno.dev/v1/iamcredentials:v1.ts";
interface SignBlobResponse {
keyId?: string;
signedBlob?: Uint8Array;
}

§Properties

§
keyId?: string
[src]

The ID of the key used to sign the blob. The key used for signing will remain valid for at least 12 hours after the blob is signed. To verify the signature, you can retrieve the public key in several formats from the following endpoints: - RSA public key wrapped in an X.509 v3 certificate: https://www.googleapis.com/service_accounts/v1/metadata/x509/{ACCOUNT_EMAIL}

  • Raw key in JSON format: https://www.googleapis.com/service_accounts/v1/metadata/raw/{ACCOUNT_EMAIL}
  • JSON Web Key (JWK): https://www.googleapis.com/service_accounts/v1/metadata/jwk/{ACCOUNT_EMAIL}
§
signedBlob?: Uint8Array
[src]

The signature for the blob. Does not include the original blob. After the key pair referenced by the key_id response field expires, Google no longer exposes the public key that can be used to verify the blob. As a result, the receiver can no longer verify the signature.