| Modifier and Type | Field and Description |
|---|---|
| public static final OpenSSHECDSAPrivateKeyEntryDecoder |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ECPrivateKey | clonePrivateKey(ECPrivateKey
The key)PrivateKey to clone - ignored if nullImplements org.
|
| public ECPublicKey | clonePublicKey(ECPublicKey
The key)PublicKey to clone - ignored if nullImplements org.
|
| public ECPrivateKey | 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, ECPrivateKey SecureByteArrayOutputStream to write the data to.The key, ECPublicKey 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 KeyPair | generateKeyPair(int
Key size in bits keySize)Overrides default org.
|
| public KeyFactory | |
| public KeyPairGenerator | |
| public ECPublicKey | recoverPublicKey(ECPrivateKey
The prvKey)PrivateKeyOverrides default org. Attempts to recover the public key given the private one |
| INSTANCE | back to summary |
|---|---|
| public static final OpenSSHECDSAPrivateKeyEntryDecoder INSTANCE | |
| OpenSSHECDSAPrivateKeyEntryDecoder | back to summary |
|---|---|
| public OpenSSHECDSAPrivateKeyEntryDecoder() | |
| clonePrivateKey | back to summary |
|---|---|
| public ECPrivateKey clonePrivateKey(ECPrivateKey key) throws GeneralSecurityException Implements org.
| |
| clonePublicKey | back to summary |
|---|---|
| public ECPublicKey clonePublicKey(ECPublicKey key) throws GeneralSecurityException Implements org.
| |
| encodePrivateKey | back to summary |
|---|---|
| public String encodePrivateKey(SecureByteArrayOutputStream s, ECPrivateKey key, ECPublicKey pubKey) throws IOException Overrides default org. Doc from org. Encodes the
| |
| generateKeyPair | back to summary |
|---|---|
| public KeyPair generateKeyPair(int keySize) throws GeneralSecurityException Overrides default org.
| |
| getKeyFactoryInstance | back to summary |
|---|---|
| public KeyFactory getKeyFactoryInstance() throws GeneralSecurityException Implements org.
| |
| getKeyPairGenerator | back to summary |
|---|---|
| public KeyPairGenerator getKeyPairGenerator() throws GeneralSecurityException Implements org.
| |
| recoverPublicKey | back to summary |
|---|---|
| public ECPublicKey recoverPublicKey(ECPrivateKey prvKey) throws GeneralSecurityException Overrides default org. Doc from org. Attempts to recover the public key given the private one
| |