| Modifier and Type | Field and Description |
|---|---|
| protected final EdDSASupport | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | GenericOpenSSHEd25519PrivateKeyEntryDecoder(Class<PUB> pubType, Class<PRV> prvType, EdDSASupport<PUB, PRV> edDSASupport)
|
| Modifier and Type | Method and Description |
|---|---|
| public PRV | clonePrivateKey(PRV
The key)PrivateKey to clone - ignored if nullImplements org.
|
| public PUB | clonePublicKey(PUB
The key)PublicKey to clone - ignored if nullImplements org.
|
| public PRV | decodePrivateKey(SessionContext
The session, String SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool or session unknown).The reported / encode key type keyType, FilePasswordProvider The passwordProvider, InputStream FilePasswordProvider to use in case the data is encrypted - may be
null if no encrypted data is expectedThe key data bytes stream positioned after the key type decoding and making sure
it is one of the supported types keyData)Implements org.
|
| public String | encodePrivateKey(SecureByteArrayOutputStream
The s, PRV SecureByteArrayOutputStream to write the data to.The key, PUB PrivateKey - may not be nullThe pubKey)PublicKey belonging to the private key - must be non-null if
public key recovery is not supportedOverrides default org. Encodes the |
| public KeyFactory | |
| public KeyPairGenerator | |
| public boolean | |
| public PUB | recoverPublicKey(PRV
The prvKey)PrivateKeyOverrides default org. Attempts to recover the public key given the private one |
| edDSASupport | back to summary |
|---|---|
| protected final EdDSASupport<PUB, PRV> edDSASupport | |
| KEYPAIR_SIZE | back to summary |
|---|---|
| private static final int KEYPAIR_SIZE | |
| PK_SIZE | back to summary |
|---|---|
| private static final int PK_SIZE | |
| SK_SIZE | back to summary |
|---|---|
| private static final int SK_SIZE | |
| GenericOpenSSHEd25519PrivateKeyEntryDecoder | back to summary |
|---|---|
| public GenericOpenSSHEd25519PrivateKeyEntryDecoder(Class<PUB> pubType, Class<PRV> prvType, EdDSASupport<PUB, PRV> edDSASupport) | |
| clonePrivateKey | back to summary |
|---|---|
| public PRV clonePrivateKey(PRV key) throws GeneralSecurityException Implements org.
| |
| clonePublicKey | back to summary |
|---|---|
| public PUB clonePublicKey(PUB key) throws GeneralSecurityException Implements org.
| |
| encodePrivateKey | back to summary |
|---|---|
| public String encodePrivateKey(SecureByteArrayOutputStream s, PRV key, PUB pubKey) throws IOException Overrides default org. Doc from org. Encodes the
| |
| getKeyFactoryInstance | back to summary |
|---|---|
| public KeyFactory getKeyFactoryInstance() throws GeneralSecurityException Implements org.
| |
| getKeyPairGenerator | back to summary |
|---|---|
| public KeyPairGenerator getKeyPairGenerator() throws GeneralSecurityException Implements org.
| |
| isPublicKeyRecoverySupported | back to summary |
|---|---|
| public boolean isPublicKeyRecoverySupported() Overrides default org.
| |
| recoverPublicKey | back to summary |
|---|---|
| public PUB recoverPublicKey(PRV prvKey) throws GeneralSecurityException Overrides default org. Doc from org. Attempts to recover the public key given the private one
| |