Bouncy Castle Cryptography Library 1.85

org.bouncycastle.pqc.jcajce.provider.sdith
Class BCSDitHPrivateKey

java.lang.Object
  extended byorg.bouncycastle.pqc.jcajce.provider.sdith.BCSDitHPrivateKey
All Implemented Interfaces:
java.security.Key, java.security.PrivateKey, SDitHKey, java.io.Serializable

public class BCSDitHPrivateKey
extends java.lang.Object
implements java.security.PrivateKey, SDitHKey

See Also:
Serialized Form

Constructor Summary
BCSDitHPrivateKey(PrivateKeyInfo keyInfo)
           
BCSDitHPrivateKey(SDitHPrivateKeyParameters params)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 SDitHParameterSpec getParameterSpec()
          Return the parameter spec associated with this SDitH key.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCSDitHPrivateKey

public BCSDitHPrivateKey(SDitHPrivateKeyParameters params)

BCSDitHPrivateKey

public BCSDitHPrivateKey(PrivateKeyInfo keyInfo)
                  throws java.io.IOException
Method Detail

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getAlgorithm

public final java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key

getEncoded

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

getParameterSpec

public SDitHParameterSpec getParameterSpec()
Description copied from interface: SDitHKey
Return the parameter spec associated with this SDitH key.

Specified by:
getParameterSpec in interface SDitHKey

getFormat

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

Bouncy Castle Cryptography Library 1.85