Class Key

java.lang.Object
eirb.pub.app.vault.Key
All Implemented Interfaces:
Serializable, Key

public class Key extends Object implements Key
See Also:
  • Constructor Details

    • Key

      public Key(byte[] key)
  • Method Details

    • byPassword

      public static Key byPassword(String mdp, Salt salt)
    • randomKey

      public static Key randomKey()
    • getEncoded

      public byte[] getEncoded()
      Specified by:
      getEncoded in interface Key
    • getAlgorithm

      public String getAlgorithm()
      Specified by:
      getAlgorithm in interface Key
    • getFormat

      public String getFormat()
      Specified by:
      getFormat in interface Key