Class PrivateKey.Type

  • Enclosing interface:
    PrivateKey

    public static final class PrivateKey.Type
    extends java.lang.Object
    • Method Detail

      • fromOID

        public static PrivateKey.Type fromOID​(OBJECT_IDENTIFIER oid)
                                       throws java.security.NoSuchAlgorithmException
        Throws:
        java.security.NoSuchAlgorithmException
      • toString

        public java.lang.String toString()
        Returns a string representation of the algorithm, such as "RSA", "DSA", or "EC".
        Overrides:
        toString in class java.lang.Object
      • getPKCS11Type

        public int getPKCS11Type()