public class McElieceCCA2PrivateKey extends ASN1Object
The ASN.1 definition of the key structure is
McElieceCCA2PrivateKey ::= SEQUENCE {
m INTEGER -- extension degree of the field
k INTEGER -- dimension of the code
field OCTET STRING -- field polynomial
goppaPoly OCTET STRING -- irreducible Goppa polynomial
p OCTET STRING -- permutation vector
digest AlgorithmIdentifier -- algorithm identifier for CCA2 digest
}
| Constructor and Description |
|---|
McElieceCCA2PrivateKey(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM goppaPoly,
Permutation p,
AlgorithmIdentifier digest) |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmIdentifier |
getDigest() |
GF2mField |
getField() |
PolynomialGF2mSmallM |
getGoppaPoly() |
static McElieceCCA2PrivateKey |
getInstance(java.lang.Object o) |
int |
getK() |
int |
getN() |
Permutation |
getP() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic McElieceCCA2PrivateKey(int n,
int k,
GF2mField field,
PolynomialGF2mSmallM goppaPoly,
Permutation p,
AlgorithmIdentifier digest)
public int getN()
public int getK()
public GF2mField getField()
public PolynomialGF2mSmallM getGoppaPoly()
public Permutation getP()
public AlgorithmIdentifier getDigest()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Objectpublic static McElieceCCA2PrivateKey getInstance(java.lang.Object o)