Class PrivateKey


  • public final class PrivateKey
    extends java.lang.Object
    Represents an asymmetric private key that wraps the underlying bytes of the key.
    • Method Detail

      • validate

        public static PrivateKey validate​(byte[] bytes)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • asBytes

        public final byte[] asBytes()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • delete

        public void delete()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object