BCMcElieceCCA2PrivateKey, BCMcElieceCCA2PublicKey
| Modifier and Type | Field and Description |
|---|---|
| public static final String | OID
The OID of the algorithm. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected PrivateKey | Returns: the McEliece CCA2 private keythe key specification keySpec)Implements abstract java. BCMcElieceCCA2PrivateKey.
|
| protected PublicKey | Returns: the McEliece CCA2 public keythe key specification keySpec)Implements abstract java. BCMcElieceCCA2PublicKey.
|
| protected KeySpec | engineGetKeySpec(Key
the key. key, Class<T> the specification class in which
the key material should be returned. tClass)Implements abstract java. |
| protected Key | engineTranslateKey(Key
the key whose provider is unknown or untrusted. key)Implements abstract java. |
| public PrivateKey | |
| public PublicKey | |
| public KeySpec | Returns: the specification of the McEliece CCA2 keythe key key, Class<T> the key specification keySpec)Converts, if possible, a given key into a key specification. |
| public Key | Returns: a key of a known key typethe key key)Translates a key into a form known by the FlexiProvider. |
| OID | back to summary |
|---|---|
| public static final String OID The OID of the algorithm. | |
| McElieceCCA2KeyFactorySpi | back to summary |
|---|---|
| public McElieceCCA2KeyFactorySpi() | |
| engineGeneratePrivate | back to summary |
|---|---|
| protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException Implements abstract java. Converts, if possible, a key specification into a
| |
| engineGeneratePublic | back to summary |
|---|---|
| protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException Implements abstract java. Converts, if possible, a key specification into a
| |
| engineGetKeySpec | back to summary |
|---|---|
| protected KeySpec engineGetKeySpec(Key key, Class<T> tClass) throws InvalidKeySpecException Implements abstract java. Doc from java. Returns a specification (key material) of the given key
object.
| |
| engineTranslateKey | back to summary |
|---|---|
| protected Key engineTranslateKey(Key key) throws InvalidKeyException Implements abstract java. Doc from java. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory.
| |
| generatePrivate | back to summary |
|---|---|
| public PrivateKey generatePrivate(PrivateKeyInfo pki) throws IOException Implements org. | |
| generatePublic | back to summary |
|---|---|
| public PublicKey generatePublic(SubjectPublicKeyInfo pki) throws IOException Implements org. | |
| getKeySpec | back to summary |
|---|---|
| public KeySpec getKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException Converts, if possible, a given key into a key specification. Currently, the following key specifications are supported:
| |
| translateKey | back to summary |
|---|---|
| public Key translateKey(Key key) throws InvalidKeyException Translates a key into a form known by the FlexiProvider. Currently, only
the following "source" keys are supported:
| |