Enum Protos.Key.Type

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<Protos.Key.Type>
    Enclosing class:
    Protos.Key

    public static enum Protos.Key.Type
    extends java.lang.Enum<Protos.Key.Type>
    implements com.google.protobuf.Internal.EnumLite
    Protobuf enum wallet.Key.Type
    • Enum Constant Detail

      • ORIGINAL

        public static final Protos.Key.Type ORIGINAL
         Unencrypted - Original bitcoin secp256k1 curve 
         
        ORIGINAL = 1;
      • ENCRYPTED_SCRYPT_AES

        public static final Protos.Key.Type ENCRYPTED_SCRYPT_AES
         Encrypted with Scrypt and AES - Original bitcoin secp256k1 curve 
         
        ENCRYPTED_SCRYPT_AES = 2;
      • DETERMINISTIC_MNEMONIC

        public static final Protos.Key.Type DETERMINISTIC_MNEMONIC
        
         Not really a key, but rather contains the mnemonic phrase for a deterministic key hierarchy in the private_key field.
         The label and public_key fields are missing. Creation timestamp will exist.
         
        DETERMINISTIC_MNEMONIC = 3;
      • DETERMINISTIC_KEY

        public static final Protos.Key.Type DETERMINISTIC_KEY
        
         A key that was derived deterministically. Note that the root seed that created it may NOT be present in the
         wallet, for the case of watching wallets. A deterministic key may or may not have the private key bytes present.
         However the public key bytes and the deterministic_key field are guaranteed to exist. In a wallet where there
         is a path from this key up to a key that has (possibly encrypted) private bytes, it's expected that the private
         key can be rederived on the fly.
         
        DETERMINISTIC_KEY = 4;
    • Field Detail

      • ORIGINAL_VALUE

        public static final int ORIGINAL_VALUE
         Unencrypted - Original bitcoin secp256k1 curve 
         
        ORIGINAL = 1;
        See Also:
        Constant Field Values
      • ENCRYPTED_SCRYPT_AES_VALUE

        public static final int ENCRYPTED_SCRYPT_AES_VALUE
         Encrypted with Scrypt and AES - Original bitcoin secp256k1 curve 
         
        ENCRYPTED_SCRYPT_AES = 2;
        See Also:
        Constant Field Values
      • DETERMINISTIC_MNEMONIC_VALUE

        public static final int DETERMINISTIC_MNEMONIC_VALUE
        
         Not really a key, but rather contains the mnemonic phrase for a deterministic key hierarchy in the private_key field.
         The label and public_key fields are missing. Creation timestamp will exist.
         
        DETERMINISTIC_MNEMONIC = 3;
        See Also:
        Constant Field Values
      • DETERMINISTIC_KEY_VALUE

        public static final int DETERMINISTIC_KEY_VALUE
        
         A key that was derived deterministically. Note that the root seed that created it may NOT be present in the
         wallet, for the case of watching wallets. A deterministic key may or may not have the private key bytes present.
         However the public key bytes and the deterministic_key field are guaranteed to exist. In a wallet where there
         is a path from this key up to a key that has (possibly encrypted) private bytes, it's expected that the private
         key can be rederived on the fly.
         
        DETERMINISTIC_KEY = 4;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Protos.Key.Type[] 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 (Protos.Key.Type c : Protos.Key.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Protos.Key.Type valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

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

        @Deprecated
        public static Protos.Key.Type 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<Protos.Key.Type> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()