| Modifier and Type | Field and Description |
|---|---|
| public static final OpenSSHDSSPrivateKeyEntryDecoder |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DSAPrivateKey | clonePrivateKey(DSAPrivateKey
The key)PrivateKey to clone - ignored if nullImplements org.
|
| public DSAPublicKey | clonePublicKey(DSAPublicKey
The key)PublicKey to clone - ignored if nullImplements org.
|
| public DSAPrivateKey | 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, DSAPrivateKey SecureByteArrayOutputStream to write the data to.The key, DSAPublicKey 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 DSAPublicKey | recoverPublicKey(DSAPrivateKey
The privateKey)PrivateKeyOverrides default org. Attempts to recover the public key given the private one |
| INSTANCE | back to summary |
|---|---|
| public static final OpenSSHDSSPrivateKeyEntryDecoder INSTANCE | |
| OpenSSHDSSPrivateKeyEntryDecoder | back to summary |
|---|---|
| public OpenSSHDSSPrivateKeyEntryDecoder() | |
| clonePrivateKey | back to summary |
|---|---|
| public DSAPrivateKey clonePrivateKey(DSAPrivateKey key) throws GeneralSecurityException Implements org.
| |
| clonePublicKey | back to summary |
|---|---|
| public DSAPublicKey clonePublicKey(DSAPublicKey key) throws GeneralSecurityException Implements org.
| |
| encodePrivateKey | back to summary |
|---|---|
| public String encodePrivateKey(SecureByteArrayOutputStream s, DSAPrivateKey key, DSAPublicKey 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 DSAPublicKey recoverPublicKey(DSAPrivateKey privateKey) throws GeneralSecurityException Overrides default org. Doc from org. Attempts to recover the public key given the private one
| |