public static enum ImportJob.ImportMethod extends Enum<ImportJob.ImportMethod> implements ProtocolMessageEnum
[ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the key wrapping method chosen for this [ImportJob][google.cloud.kms.v1.ImportJob].Protobuf enum
google.cloud.kms.v1.ImportJob.ImportMethod
Enum Constant and Description |
---|
IMPORT_METHOD_UNSPECIFIED
Not specified.
|
RSA_OAEP_3072_SHA1_AES_256
This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping
scheme defined in the PKCS #11 standard.
|
RSA_OAEP_4096_SHA1_AES_256
This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping
scheme defined in the PKCS #11 standard.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
IMPORT_METHOD_UNSPECIFIED_VALUE
Not specified.
|
static int |
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.
|
static int |
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.
|
Modifier and Type | Method and Description |
---|---|
static ImportJob.ImportMethod |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ImportJob.ImportMethod> |
internalGetValueMap() |
static ImportJob.ImportMethod |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ImportJob.ImportMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImportJob.ImportMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportJob.ImportMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportJob.ImportMethod IMPORT_METHOD_UNSPECIFIED
Not specified.
IMPORT_METHOD_UNSPECIFIED = 0;
public static final ImportJob.ImportMethod 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](http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-curr-v2.40-cos01.html#_Toc408226908).
RSA_OAEP_3072_SHA1_AES_256 = 1;
public static final ImportJob.ImportMethod 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](http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-curr-v2.40-cos01.html#_Toc408226908).
RSA_OAEP_4096_SHA1_AES_256 = 2;
public static final ImportJob.ImportMethod UNRECOGNIZED
public static final int IMPORT_METHOD_UNSPECIFIED_VALUE
Not specified.
IMPORT_METHOD_UNSPECIFIED = 0;
public static final int 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](http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-curr-v2.40-cos01.html#_Toc408226908).
RSA_OAEP_3072_SHA1_AES_256 = 1;
public static final int 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](http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-curr-v2.40-cos01.html#_Toc408226908).
RSA_OAEP_4096_SHA1_AES_256 = 2;
public static ImportJob.ImportMethod[] values()
for (ImportJob.ImportMethod c : ImportJob.ImportMethod.values()) System.out.println(c);
public static ImportJob.ImportMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ImportJob.ImportMethod valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ImportJob.ImportMethod forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ImportJob.ImportMethod> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static ImportJob.ImportMethod valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.