public class BCRainbowPublicKey
extends java.lang.Object
implements java.security.PublicKey
Constructor and Description |
---|
BCRainbowPublicKey(int docLength,
short[][] coeffQuadratic,
short[][] coeffSingular,
short[] coeffScalar)
Constructor
|
BCRainbowPublicKey(RainbowPublicKeyParameters params) |
BCRainbowPublicKey(RainbowPublicKeySpec keySpec)
Constructor (used by the
RainbowKeyFactorySpi ). |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Compare this Rainbow public key with another object.
|
java.lang.String |
getAlgorithm() |
short[][] |
getCoeffQuadratic() |
short[] |
getCoeffScalar() |
short[][] |
getCoeffSingular() |
int |
getDocLength() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
int |
hashCode() |
public BCRainbowPublicKey(int docLength, short[][] coeffQuadratic, short[][] coeffSingular, short[] coeffScalar)
docLength
- coeffQuadratic
- coeffSingular
- coeffScalar
- public BCRainbowPublicKey(RainbowPublicKeySpec keySpec)
RainbowKeyFactorySpi
).keySpec
- a RainbowPublicKeySpec
public BCRainbowPublicKey(RainbowPublicKeyParameters params)
public int getDocLength()
public short[][] getCoeffQuadratic()
public short[][] getCoeffSingular()
public short[] getCoeffScalar()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the other objectpublic int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key