Enum ImportJob.ImportMethod (2.97.0)

public enum ImportJob.ImportMethod extends Enum<ImportJob.ImportMethod> implements ProtocolMessageEnum

ImportMethod describes the key wrapping method chosen for this ImportJob.

Protobuf enum google.cloud.kms.v1.ImportJob.ImportMethod

Implements

ProtocolMessageEnum

Static Fields

Name Description
HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM

Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in RFC 9180. It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the ML-KEM-1024 KEM. For more details, see the ML-KEM HPKE standard.

HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM = 9;

HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM_VALUE

Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in RFC 9180. It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the ML-KEM-1024 KEM. For more details, see the ML-KEM HPKE standard.

HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM = 9;

HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM

Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in RFC 9180. It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the ML-KEM-768 KEM. For more details, see the ML-KEM HPKE standard.

HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM = 8;

HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM_VALUE

Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in RFC 9180. It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the ML-KEM-768 KEM. For more details, see the ML-KEM HPKE standard.

HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM = 8;

HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM

Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in RFC 9180. It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the X-Wing hybrid KEM. For more details, see the X-Wing standard.

HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM = 10;

HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM_VALUE

Represents the Hybrid Public Key Encryption (HPKE) Scheme originally defined in RFC 9180. It involves wrapping the raw key with an ephemeral AES key, derived with HKDF-SHA256 from an encryption context, that is, in turn obtained from the receiver’s public key with the help of the X-Wing hybrid KEM. For more details, see the X-Wing standard.

HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM = 10;

IMPORT_METHOD_UNSPECIFIED

Not specified.

IMPORT_METHOD_UNSPECIFIED = 0;

IMPORT_METHOD_UNSPECIFIED_VALUE

Not specified.

IMPORT_METHOD_UNSPECIFIED = 0;

RSA_OAEP_3072_SHA1_AES_256

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism.

RSA_OAEP_3072_SHA1_AES_256 = 1;

RSA_OAEP_3072_SHA1_AES_256_VALUE

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism.

RSA_OAEP_3072_SHA1_AES_256 = 1;

RSA_OAEP_3072_SHA256

This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import.

RSA_OAEP_3072_SHA256 = 5;

RSA_OAEP_3072_SHA256_AES_256

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism.

RSA_OAEP_3072_SHA256_AES_256 = 3;

RSA_OAEP_3072_SHA256_AES_256_VALUE

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism.

RSA_OAEP_3072_SHA256_AES_256 = 3;

RSA_OAEP_3072_SHA256_VALUE

This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import.

RSA_OAEP_3072_SHA256 = 5;

RSA_OAEP_4096_SHA1_AES_256

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism.

RSA_OAEP_4096_SHA1_AES_256 = 2;

RSA_OAEP_4096_SHA1_AES_256_VALUE

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism.

RSA_OAEP_4096_SHA1_AES_256 = 2;

RSA_OAEP_4096_SHA256

This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import.

RSA_OAEP_4096_SHA256 = 6;

RSA_OAEP_4096_SHA256_AES_256

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism.

RSA_OAEP_4096_SHA256_AES_256 = 4;

RSA_OAEP_4096_SHA256_AES_256_VALUE

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism.

RSA_OAEP_4096_SHA256_AES_256 = 4;

RSA_OAEP_4096_SHA256_VALUE

This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import.

RSA_OAEP_4096_SHA256 = 6;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()