COM.claymoresystems.cert
Class EAYDSAPrivateKey

java.lang.Object
  extended by COM.claymoresystems.crypto.BaseDSAPrivateKey
      extended by COM.claymoresystems.cert.EAYDSAPrivateKey
All Implemented Interfaces:
java.io.Serializable, java.security.interfaces.DSAKey, java.security.interfaces.DSAPrivateKey, java.security.Key, java.security.PrivateKey

public class EAYDSAPrivateKey
extends BaseDSAPrivateKey

Construct a DSA private from the SSLeay style BER encoding

See Also:
Serialized Form

Field Summary
 
Fields inherited from class COM.claymoresystems.crypto.BaseDSAPrivateKey
params, X
 
Fields inherited from interface java.security.interfaces.DSAPrivateKey
serialVersionUID
 
Constructor Summary
EAYDSAPrivateKey(byte[] encoding)
           
EAYDSAPrivateKey(java.security.interfaces.DSAPrivateKey key)
           
 
Method Summary
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 
Methods inherited from class COM.claymoresystems.crypto.BaseDSAPrivateKey
getAlgorithm, getParams, getX, getY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EAYDSAPrivateKey

public EAYDSAPrivateKey(byte[] encoding)
                 throws java.io.IOException
Throws:
java.io.IOException

EAYDSAPrivateKey

public EAYDSAPrivateKey(java.security.interfaces.DSAPrivateKey key)
Method Detail

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface java.security.Key
Overrides:
getFormat in class BaseDSAPrivateKey

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface java.security.Key
Overrides:
getEncoded in class BaseDSAPrivateKey


Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.