org.mozilla.jss.crypto
Class PrivateKey.Type

java.lang.Object
  |
  +--org.mozilla.jss.crypto.PrivateKey.Type
Enclosing class:
PrivateKey

public static final class PrivateKey.Type
extends java.lang.Object


Field Summary
static PrivateKey.Type DSA
           
static PrivateKey.Type RSA
           
 
Method Summary
static PrivateKey.Type fromOID(OBJECT_IDENTIFIER oid)
           
 OBJECT_IDENTIFIER toOID()
           
 java.lang.String toString()
          Returns a string representation of the algorithm, such as "RSA" or "DSA".
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RSA

public static final PrivateKey.Type RSA

DSA

public static final PrivateKey.Type DSA
Method Detail

fromOID

public static PrivateKey.Type fromOID(OBJECT_IDENTIFIER oid)
                               throws java.security.NoSuchAlgorithmException

toString

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

toOID

public OBJECT_IDENTIFIER toOID()