Package net.jsign.jca

Class GoogleCloudSigningService

  • All Implemented Interfaces:
    SigningService

    public class GoogleCloudSigningService
    extends Object
    implements SigningService
    Signing service using the Google Cloud Key Management API.

    The key alias can take one of the following forms:

    • The absolute path of the key with the exact version specified: projects/first-rain-123/locations/global/keyRings/mykeyring/cryptoKeys/mykey/cryptoKeyVersions/2
    • The absolute path of the key without the version specified, the first version enabled will be used: projects/first-rain-123/locations/global/keyRings/mykeyring/cryptoKeys/mykey
    • The path of the key relatively to the keyring with the version specified: mykey/cryptoKeyVersions/2
    • The path of the key relatively to the keyring without the version specified: mykey

    When the version of the key is specified, it's also possible to append the algorithm of the key, this saves a round-trip and reduces the risk of hitting a read request limit when signing a large number of files: mykey/cryptoKeyVersions/2:ECDSA

    Since:
    4.0
    See Also:
    Cloud Key Management Service (KMS) API