Bouncy Castle Cryptography Library 1.85

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

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

public class BCSDitHPublicKey
extends java.lang.Object
implements java.security.PublicKey, SDitHKey

See Also:
Serialized Form

Constructor Summary
BCSDitHPublicKey(SDitHPublicKeyParameters params)
           
BCSDitHPublicKey(SubjectPublicKeyInfo keyInfo)
           
 
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

BCSDitHPublicKey

public BCSDitHPublicKey(SDitHPublicKeyParameters params)

BCSDitHPublicKey

public BCSDitHPublicKey(SubjectPublicKeyInfo 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

getFormat

public java.lang.String getFormat()
Specified by:
getFormat 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

Bouncy Castle Cryptography Library 1.85