McElieceCCA2KeyPairGenerator or McElieceCCA2KeyFactorySpi.
McElieceCCA2KeyPairGenerator
| Modifier and Type | Field and Description |
|---|---|
| private transient McElieceCCA2PrivateKeyParameters | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: the result of the comparisonthe other object other)Overrides java. Compare this key with another object. |
| public String | Returns: "McEliece-CCA2"Implements java. Return the name of the algorithm. |
| public byte[] | Returns: the keyData to encode in the SubjectPublicKeyInfo structureImplements java. Return the keyData to encode in the SubjectPublicKeyInfo structure. |
| public GF2mField | |
| public String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| public PolynomialGF2mSmallM | |
| public GF2Matrix | |
| public int | |
| pack-priv AsymmetricKeyParameter | |
| public int | |
| public Permutation | |
| public PolynomialGF2mSmallM[] | |
| public int | |
| public int | Returns: the hash code of this keyOverrides java. Returns a hash code value for this object. |
| private void | |
| private void | |
| private void |
| params | back to summary |
|---|---|
| private transient McElieceCCA2PrivateKeyParameters params | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BCMcElieceCCA2PrivateKey | back to summary |
|---|---|
| public BCMcElieceCCA2PrivateKey(McElieceCCA2PrivateKeyParameters params) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Compare this key with another object.
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Return the name of the algorithm.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Return the keyData to encode in the SubjectPublicKeyInfo structure. The ASN.1 definition of the key structure is
McEliecePrivateKey ::= 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
matrixH OCTET STRING -- canonical check matrix
sqRootMatrix SEQUENCE OF OCTET STRING -- square root matrix
}
| |
| getField | back to summary |
|---|---|
public GF2mField getField()
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or
| |
| getGoppaPoly | back to summary |
|---|---|
public PolynomialGF2mSmallM getGoppaPoly()
| |
| getH | back to summary |
|---|---|
public GF2Matrix getH()
| |
| getK | back to summary |
|---|---|
public int getK()
| |
| getKeyParams | back to summary |
|---|---|
| pack-priv AsymmetricKeyParameter getKeyParams() | |
| getN | back to summary |
|---|---|
public int getN()
| |
| getP | back to summary |
|---|---|
public Permutation getP()
| |
| getQInv | back to summary |
|---|---|
public PolynomialGF2mSmallM[] getQInv()
| |
| getT | back to summary |
|---|---|
public int getT()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| init | back to summary |
|---|---|
| private void init(PrivateKeyInfo privateKeyInfo) throws IOException | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |