Class AbstractKey

  • Direct Known Subclasses:
    PrivateKey, PublicKey

    public abstract class AbstractKey
    extends Object
    Represent either a private or public key in a digital signature system.
    • Method Detail

      • toBytes

        public byte[] toBytes()
        Returns the value of this key as a byte array.
      • size

        public int size()
        Returns the length of this key in bytes.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object