public static enum DnsSettings.DsRecord.Algorithm extends Enum<DnsSettings.DsRecord.Algorithm> implements com.google.protobuf.ProtocolMessageEnum
List of algorithms used to create a DNSKEY. Certain algorithms are not supported for particular domains.Protobuf enum
google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm| Enum Constant and Description |
|---|
ALGORITHM_UNSPECIFIED
The algorithm is unspecified.
|
DH
Diffie-Hellman.
|
DSA
DSA/SHA1.
|
DSANSEC3SHA1
DSA-NSEC3-SHA1.
|
ECC
ECC.
|
ECCGOST
GOST R 34.10-2001.
|
ECDSAP256SHA256
ECDSA Curve P-256 with SHA-256.
|
ECDSAP384SHA384
ECDSA Curve P-384 with SHA-384.
|
ED25519
Ed25519.
|
ED448
Ed448.
|
INDIRECT
Reserved for Indirect Keys.
|
PRIVATEDNS
Private algorithm.
|
PRIVATEOID
Private algorithm OID.
|
RSAMD5
RSA/MD5.
|
RSASHA1
RSA/SHA-1.
|
RSASHA1NSEC3SHA1
RSA/SHA1-NSEC3-SHA1.
|
RSASHA256
RSA/SHA-256.
|
RSASHA512
RSA/SHA-512.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALGORITHM_UNSPECIFIED_VALUE
The algorithm is unspecified.
|
static int |
DH_VALUE
Diffie-Hellman.
|
static int |
DSA_VALUE
DSA/SHA1.
|
static int |
DSANSEC3SHA1_VALUE
DSA-NSEC3-SHA1.
|
static int |
ECC_VALUE
ECC.
|
static int |
ECCGOST_VALUE
GOST R 34.10-2001.
|
static int |
ECDSAP256SHA256_VALUE
ECDSA Curve P-256 with SHA-256.
|
static int |
ECDSAP384SHA384_VALUE
ECDSA Curve P-384 with SHA-384.
|
static int |
ED25519_VALUE
Ed25519.
|
static int |
ED448_VALUE
Ed448.
|
static int |
INDIRECT_VALUE
Reserved for Indirect Keys.
|
static int |
PRIVATEDNS_VALUE
Private algorithm.
|
static int |
PRIVATEOID_VALUE
Private algorithm OID.
|
static int |
RSAMD5_VALUE
RSA/MD5.
|
static int |
RSASHA1_VALUE
RSA/SHA-1.
|
static int |
RSASHA1NSEC3SHA1_VALUE
RSA/SHA1-NSEC3-SHA1.
|
static int |
RSASHA256_VALUE
RSA/SHA-256.
|
static int |
RSASHA512_VALUE
RSA/SHA-512.
|
| Modifier and Type | Method and Description |
|---|---|
static DnsSettings.DsRecord.Algorithm |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DnsSettings.DsRecord.Algorithm> |
internalGetValueMap() |
static DnsSettings.DsRecord.Algorithm |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DnsSettings.DsRecord.Algorithm |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DnsSettings.DsRecord.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DnsSettings.DsRecord.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DnsSettings.DsRecord.Algorithm ALGORITHM_UNSPECIFIED
The algorithm is unspecified.
ALGORITHM_UNSPECIFIED = 0;public static final DnsSettings.DsRecord.Algorithm RSAMD5
RSA/MD5. Cannot be used for new deployments.
RSAMD5 = 1;public static final DnsSettings.DsRecord.Algorithm DH
Diffie-Hellman. Cannot be used for new deployments.
DH = 2;public static final DnsSettings.DsRecord.Algorithm DSA
DSA/SHA1. Not recommended for new deployments.
DSA = 3;public static final DnsSettings.DsRecord.Algorithm ECC
ECC. Not recommended for new deployments.
ECC = 4;public static final DnsSettings.DsRecord.Algorithm RSASHA1
RSA/SHA-1. Not recommended for new deployments.
RSASHA1 = 5;public static final DnsSettings.DsRecord.Algorithm DSANSEC3SHA1
DSA-NSEC3-SHA1. Not recommended for new deployments.
DSANSEC3SHA1 = 6;public static final DnsSettings.DsRecord.Algorithm RSASHA1NSEC3SHA1
RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
RSASHA1NSEC3SHA1 = 7;public static final DnsSettings.DsRecord.Algorithm RSASHA256
RSA/SHA-256.
RSASHA256 = 8;public static final DnsSettings.DsRecord.Algorithm RSASHA512
RSA/SHA-512.
RSASHA512 = 10;public static final DnsSettings.DsRecord.Algorithm ECCGOST
GOST R 34.10-2001.
ECCGOST = 12;public static final DnsSettings.DsRecord.Algorithm ECDSAP256SHA256
ECDSA Curve P-256 with SHA-256.
ECDSAP256SHA256 = 13;public static final DnsSettings.DsRecord.Algorithm ECDSAP384SHA384
ECDSA Curve P-384 with SHA-384.
ECDSAP384SHA384 = 14;public static final DnsSettings.DsRecord.Algorithm ED25519
Ed25519.
ED25519 = 15;public static final DnsSettings.DsRecord.Algorithm ED448
Ed448.
ED448 = 16;public static final DnsSettings.DsRecord.Algorithm INDIRECT
Reserved for Indirect Keys. Cannot be used for new deployments.
INDIRECT = 252;public static final DnsSettings.DsRecord.Algorithm PRIVATEDNS
Private algorithm. Cannot be used for new deployments.
PRIVATEDNS = 253;public static final DnsSettings.DsRecord.Algorithm PRIVATEOID
Private algorithm OID. Cannot be used for new deployments.
PRIVATEOID = 254;public static final DnsSettings.DsRecord.Algorithm UNRECOGNIZED
public static final int ALGORITHM_UNSPECIFIED_VALUE
The algorithm is unspecified.
ALGORITHM_UNSPECIFIED = 0;public static final int RSAMD5_VALUE
RSA/MD5. Cannot be used for new deployments.
RSAMD5 = 1;public static final int DH_VALUE
Diffie-Hellman. Cannot be used for new deployments.
DH = 2;public static final int DSA_VALUE
DSA/SHA1. Not recommended for new deployments.
DSA = 3;public static final int ECC_VALUE
ECC. Not recommended for new deployments.
ECC = 4;public static final int RSASHA1_VALUE
RSA/SHA-1. Not recommended for new deployments.
RSASHA1 = 5;public static final int DSANSEC3SHA1_VALUE
DSA-NSEC3-SHA1. Not recommended for new deployments.
DSANSEC3SHA1 = 6;public static final int RSASHA1NSEC3SHA1_VALUE
RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
RSASHA1NSEC3SHA1 = 7;public static final int RSASHA256_VALUE
RSA/SHA-256.
RSASHA256 = 8;public static final int RSASHA512_VALUE
RSA/SHA-512.
RSASHA512 = 10;public static final int ECCGOST_VALUE
GOST R 34.10-2001.
ECCGOST = 12;public static final int ECDSAP256SHA256_VALUE
ECDSA Curve P-256 with SHA-256.
ECDSAP256SHA256 = 13;public static final int ECDSAP384SHA384_VALUE
ECDSA Curve P-384 with SHA-384.
ECDSAP384SHA384 = 14;public static final int ED25519_VALUE
Ed25519.
ED25519 = 15;public static final int ED448_VALUE
Ed448.
ED448 = 16;public static final int INDIRECT_VALUE
Reserved for Indirect Keys. Cannot be used for new deployments.
INDIRECT = 252;public static final int PRIVATEDNS_VALUE
Private algorithm. Cannot be used for new deployments.
PRIVATEDNS = 253;public static final int PRIVATEOID_VALUE
Private algorithm OID. Cannot be used for new deployments.
PRIVATEOID = 254;public static DnsSettings.DsRecord.Algorithm[] values()
for (DnsSettings.DsRecord.Algorithm c : DnsSettings.DsRecord.Algorithm.values()) System.out.println(c);
public static DnsSettings.DsRecord.Algorithm 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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DnsSettings.DsRecord.Algorithm valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DnsSettings.DsRecord.Algorithm forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DnsSettings.DsRecord.Algorithm> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DnsSettings.DsRecord.Algorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.