Bouncy Castle Cryptography Library 1.85

org.bouncycastle.pqc.jcajce.provider.uov
Class BCUOVPrivateKey

java.lang.Object
  extended byorg.bouncycastle.pqc.jcajce.provider.uov.BCUOVPrivateKey
All Implemented Interfaces:
java.security.Key, java.security.PrivateKey, java.io.Serializable, UOVKey

public class BCUOVPrivateKey
extends java.lang.Object
implements java.security.PrivateKey, UOVKey

See Also:
Serialized Form

Constructor Summary
BCUOVPrivateKey(PrivateKeyInfo keyInfo)
           
BCUOVPrivateKey(UOVPrivateKeyParameters params)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 UOVParameterSpec getParameterSpec()
          Return the parameter set this key is bound to.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCUOVPrivateKey

public BCUOVPrivateKey(UOVPrivateKeyParameters params)

BCUOVPrivateKey

public BCUOVPrivateKey(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 UOVParameterSpec getParameterSpec()
Description copied from interface: UOVKey
Return the parameter set this key is bound to.

Specified by:
getParameterSpec in interface UOVKey
Returns:
a UOVParameterSpec naming the (security-level, encoding-variant) pair.

getFormat

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

Bouncy Castle Cryptography Library 1.85