McElieceKeyPairGenerator or McElieceKeyFactorySpi.
| Modifier and Type | Field and Description |
|---|---|
| private McEliecePrivateKeyParameters | |
| 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. |
| public String | Returns: "McEliece"Implements java. |
| public byte[] | Returns: the key data to encode in the SubjectPublicKeyInfo structureImplements java. |
| public GF2mField | |
| public String | getFormat()
Implements java. null if this key does not support encoding.
|
| public PolynomialGF2mSmallM | |
| public GF2Matrix | |
| public int | |
| pack-priv AsymmetricKeyParameter | |
| public int | |
| public Permutation | |
| public Permutation | |
| public PolynomialGF2mSmallM[] | |
| public GF2Matrix | |
| public int | Returns: the hash code of this keyOverrides java. |
| params | back to summary |
|---|---|
| private McEliecePrivateKeyParameters params | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BCMcEliecePrivateKey | back to summary |
|---|---|
| public BCMcEliecePrivateKey(McEliecePrivateKeyParameters 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 key data to encode in the SubjectPublicKeyInfo structure. The ASN.1 definition of the key structure is
McEliecePrivateKey ::= SEQUENCE {
n INTEGER -- length of the code
k INTEGER -- dimension of the code
fieldPoly OCTET STRING -- field polynomial defining GF(2ˆm)
getGoppaPoly() OCTET STRING -- irreducible Goppa polynomial
sInv OCTET STRING -- matrix Sˆ-1
p1 OCTET STRING -- permutation P1
p2 OCTET STRING -- permutation P2
h OCTET STRING -- canonical check matrix
qInv SEQUENCE OF OCTET STRING -- matrix used to compute square roots
}
| |
| 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()
| |
| getP1 | back to summary |
|---|---|
public Permutation getP1()
| |
| getP2 | back to summary |
|---|---|
public Permutation getP2()
| |
| getQInv | back to summary |
|---|---|
public PolynomialGF2mSmallM[] getQInv()
| |
| getSInv | back to summary |
|---|---|
public GF2Matrix getSInv()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |