GetImportJobResult constructor
- required KeyOperationAttestationResponse attestation,
- required String createTime,
- required String expireEventTime,
- required String expireTime,
- required String generateTime,
- required String importMethod,
- required String name,
- required String protectionLevel,
- required WrappingPublicKeyResponse publicKey,
- required String state,
Creates a new GetImportJobResult.
attestation Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
createTime The time at which this ImportJob was created.
expireEventTime The time this ImportJob expired. Only present if state is EXPIRED.
expireTime The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
generateTime The time this ImportJob's key material was generated.
importMethod Immutable. The wrapping method to be used for incoming key material.
name The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*.
protectionLevel Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
publicKey The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
state The current state of the ImportJob, indicating if it can be used.
Implementation
const GetImportJobResult({
required this.attestation,
required this.createTime,
required this.expireEventTime,
required this.expireTime,
required this.generateTime,
required this.importMethod,
required this.name,
required this.protectionLevel,
required this.publicKey,
required this.state,
});