org.bouncycastle.pqc.jcajce.provider.uov
Class BCUOVPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.uov.BCUOVPublicKey
- All Implemented Interfaces:
- java.security.Key, java.security.PublicKey, java.io.Serializable, UOVKey
- public class BCUOVPublicKey
- extends java.lang.Object
- implements java.security.PublicKey, UOVKey
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BCUOVPublicKey
public BCUOVPublicKey(UOVPublicKeyParameters params)
BCUOVPublicKey
public BCUOVPublicKey(SubjectPublicKeyInfo 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
getPublicData
public byte[] getPublicData()
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 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.
toString
public java.lang.String toString()