McElieceKeyPairGenerator or McElieceKeyFactorySpi.
| Modifier and Type | Field and Description |
|---|---|
| private McEliecePublicKeyParameters | |
| 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"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 String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| public GF2Matrix | |
| public int | |
| pack-priv AsymmetricKeyParameter | |
| public int | |
| public int | |
| public int | Returns: the hash code of this keyOverrides java. Returns a hash code value for this object. |
| public String | Returns: a human readable form of the keyOverrides java. Returns a string representation of the object. |
| params | back to summary |
|---|---|
| private McEliecePublicKeyParameters params | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BCMcEliecePublicKey | back to summary |
|---|---|
| public BCMcEliecePublicKey(McEliecePublicKeyParameters 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
McEliecePublicKey ::= SEQUENCE {
n Integer -- length of the code
t Integer -- error correcting capability
matrixG OctetString -- generator matrix as octet string
}
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or
| |
| getG | back to summary |
|---|---|
public GF2Matrix getG()
| |
| getK | back to summary |
|---|---|
public int getK()
| |
| getKeyParams | back to summary |
|---|---|
| pack-priv AsymmetricKeyParameter getKeyParams() | |
| getN | back to summary |
|---|---|
public int getN()
| |
| 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
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |