public enum PublicKey.PublicKeyFormat extends Enum<PublicKey.PublicKeyFormat> implements ProtocolMessageEnum
The supported PublicKey formats.
Protobuf enum google.cloud.kms.v1.PublicKey.PublicKeyFormat
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
DER |
The returned public key will be encoded in DER format (the PrivateKeyInfo structure from RFC 5208). |
DER_VALUE |
The returned public key will be encoded in DER format (the PrivateKeyInfo structure from RFC 5208). |
NIST_PQC |
This is supported only for PQC algorithms. The key material is returned in the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205). |
NIST_PQC_VALUE |
This is supported only for PQC algorithms. The key material is returned in the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205). |
PEM |
The returned public key will be encoded in PEM format. See the RFC7468 sections for General Considerations and Textual Encoding of Subject Public Key Info for more information. |
PEM_VALUE |
The returned public key will be encoded in PEM format. See the RFC7468 sections for General Considerations and Textual Encoding of Subject Public Key Info for more information. |
PUBLIC_KEY_FORMAT_UNSPECIFIED |
If the public_key_format field is not specified:
|
PUBLIC_KEY_FORMAT_UNSPECIFIED_VALUE |
If the public_key_format field is not specified:
|
UNRECOGNIZED |
|
XWING_RAW_BYTES |
The returned public key is in raw bytes format defined in its standard https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. |
XWING_RAW_BYTES_VALUE |
The returned public key is in raw bytes format defined in its standard https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. |
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() |