PublicKey type
| Modifier and Type | Method and Description |
|---|---|
| public default PUB | decodePublicKey(SessionContext
The session, String SessionContext for invoking this command - may be null if
not invoked within a session context (e.g., offline tool or session unknown).The keyType, byte[] OpenSSH reported key typeThe key data bytes in keyData, Map<String, String> OpenSSH format (after BASE64 decoding) - ignored
if null/emptyAny headers that may have been available when data was read headers)
|
| public default PUB | decodePublicKey(SessionContext session, String keyType, byte[] keyData, int offset, int length, Map<String, String> headers)
|
| public PUB | Returns: The decodedPublicKeyThe session, String SessionContext for invoking this command - may be null if
not invoked within a session context (e.g., offline tool or session unknown).The reported / encode key type keyType, InputStream The key data bytes stream positioned after the key type decoding and making sure
it is one of the supported types keyData, Map<String, String> Any headers that may have been available when data was read headers)
|
| public PUB | decodePublicKeyByType(SessionContext session, String keyType, InputStream keyData, Map<String, String> headers)
|
| decodePublicKey | back to summary |
|---|---|
public default PUB decodePublicKey(SessionContext session, String keyType, byte[] keyData, Map<String, String> headers) throws IOException, GeneralSecurityException
| |
| decodePublicKey | back to summary |
|---|---|
| public default PUB decodePublicKey(SessionContext session, String keyType, byte[] keyData, int offset, int length, Map<String, String> headers) throws IOException, GeneralSecurityException | |
| decodePublicKey | back to summary |
|---|---|
public PUB decodePublicKey(SessionContext session, String keyType, InputStream keyData, Map<String, String> headers) throws IOException, GeneralSecurityException
| |
| decodePublicKeyByType | back to summary |
|---|---|
| public PUB decodePublicKeyByType(SessionContext session, String keyType, InputStream keyData, Map<String, String> headers) throws IOException, GeneralSecurityException | |