Enum DnsSettings.DsRecord.Algorithm

    • Field Detail

      • ALGORITHM_UNSPECIFIED_VALUE

        public static final int ALGORITHM_UNSPECIFIED_VALUE
         The algorithm is unspecified.
         
        ALGORITHM_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • RSAMD5_VALUE

        public static final int RSAMD5_VALUE
         RSA/MD5. Cannot be used for new deployments.
         
        RSAMD5 = 1;
        See Also:
        Constant Field Values
      • DH_VALUE

        public static final int DH_VALUE
         Diffie-Hellman. Cannot be used for new deployments.
         
        DH = 2;
        See Also:
        Constant Field Values
      • DSA_VALUE

        public static final int DSA_VALUE
         DSA/SHA1. Not recommended for new deployments.
         
        DSA = 3;
        See Also:
        Constant Field Values
      • ECC_VALUE

        public static final int ECC_VALUE
         ECC. Not recommended for new deployments.
         
        ECC = 4;
        See Also:
        Constant Field Values
      • RSASHA1_VALUE

        public static final int RSASHA1_VALUE
         RSA/SHA-1. Not recommended for new deployments.
         
        RSASHA1 = 5;
        See Also:
        Constant Field Values
      • DSANSEC3SHA1_VALUE

        public static final int DSANSEC3SHA1_VALUE
         DSA-NSEC3-SHA1. Not recommended for new deployments.
         
        DSANSEC3SHA1 = 6;
        See Also:
        Constant Field Values
      • RSASHA1NSEC3SHA1_VALUE

        public static final int RSASHA1NSEC3SHA1_VALUE
         RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
         
        RSASHA1NSEC3SHA1 = 7;
        See Also:
        Constant Field Values
      • RSASHA256_VALUE

        public static final int RSASHA256_VALUE
         RSA/SHA-256.
         
        RSASHA256 = 8;
        See Also:
        Constant Field Values
      • RSASHA512_VALUE

        public static final int RSASHA512_VALUE
         RSA/SHA-512.
         
        RSASHA512 = 10;
        See Also:
        Constant Field Values
      • ECCGOST_VALUE

        public static final int ECCGOST_VALUE
         GOST R 34.10-2001.
         
        ECCGOST = 12;
        See Also:
        Constant Field Values
      • ECDSAP256SHA256_VALUE

        public static final int ECDSAP256SHA256_VALUE
         ECDSA Curve P-256 with SHA-256.
         
        ECDSAP256SHA256 = 13;
        See Also:
        Constant Field Values
      • ECDSAP384SHA384_VALUE

        public static final int ECDSAP384SHA384_VALUE
         ECDSA Curve P-384 with SHA-384.
         
        ECDSAP384SHA384 = 14;
        See Also:
        Constant Field Values
      • ED25519_VALUE

        public static final int ED25519_VALUE
         Ed25519.
         
        ED25519 = 15;
        See Also:
        Constant Field Values
      • INDIRECT_VALUE

        public static final int INDIRECT_VALUE
         Reserved for Indirect Keys. Cannot be used for new deployments.
         
        INDIRECT = 252;
        See Also:
        Constant Field Values
      • PRIVATEDNS_VALUE

        public static final int PRIVATEDNS_VALUE
         Private algorithm. Cannot be used for new deployments.
         
        PRIVATEDNS = 253;
        See Also:
        Constant Field Values
      • PRIVATEOID_VALUE

        public static final int PRIVATEOID_VALUE
         Private algorithm OID. Cannot be used for new deployments.
         
        PRIVATEOID = 254;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static DnsSettings.DsRecord.Algorithm[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DnsSettings.DsRecord.Algorithm c : DnsSettings.DsRecord.Algorithm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DnsSettings.DsRecord.Algorithm valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static DnsSettings.DsRecord.Algorithm valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static DnsSettings.DsRecord.Algorithm forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static DnsSettings.DsRecord.Algorithm valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null