org.bouncycastle.pqc.jcajce.provider.uov
Class BCUOVPrivateKey
java.lang.Object
org.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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
BCUOVPrivateKey
public BCUOVPrivateKey(UOVPrivateKeyParameters params)
BCUOVPrivateKey
public BCUOVPrivateKey(PrivateKeyInfo keyInfo)
throws java.io.IOException
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