Class EncryptionKeys

  • All Implemented Interfaces:
    java.io.Serializable

    public class EncryptionKeys
    extends java.lang.Object
    implements java.io.Serializable
    Holds all required keys to encrypt wallet data
    Should be encrypted with password via AES-256
    Should exists only on server and should not be moved across insecure networks
    Author:
    Ruslan Nazirov
    See Also:
    Serialized Form
    • Constructor Detail

      • EncryptionKeys

        public EncryptionKeys()
    • Method Detail

      • getAeaPublicKey

        public java.security.PublicKey getAeaPublicKey()
      • setAeaPublicKey

        public void setAeaPublicKey​(java.security.PublicKey aeaPublicKey)
      • getAeaPrivateKey

        public java.security.PrivateKey getAeaPrivateKey()
      • setAeaPrivateKey

        public void setAeaPrivateKey​(java.security.PrivateKey aeaPrivateKey)
      • getDsaPublicKey

        public java.security.PublicKey getDsaPublicKey()
      • setDsaPublicKey

        public void setDsaPublicKey​(java.security.PublicKey dsaPublicKey)
      • getDsaPrivateKey

        public java.security.PrivateKey getDsaPrivateKey()
      • setDsaPrivateKey

        public void setDsaPrivateKey​(java.security.PrivateKey dsaPrivateKey)
      • getMacSecretKey

        public byte[] getMacSecretKey()
      • setMacSecretKey

        public void setMacSecretKey​(byte[] macSecretKey)