Bouncy Castle Cryptography Library 1.85

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

java.lang.Object
  extended byorg.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

Constructor Summary
BCUOVPublicKey(SubjectPublicKeyInfo keyInfo)
           
BCUOVPublicKey(UOVPublicKeyParameters 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.
 byte[] getPublicData()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BCUOVPublicKey

public BCUOVPublicKey(UOVPublicKeyParameters params)

BCUOVPublicKey

public BCUOVPublicKey(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

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()

Bouncy Castle Cryptography Library 1.85