| Modifier and Type | Field and Description |
|---|---|
| public static final String | ECDSA_SHA2_NISTP256
SSH identifier for EC keys in NIST curve P-256 |
| public static final String | ECDSA_SHA2_NISTP384
SSH identifier for EC keys in NIST curve P-384 |
| public static final String | ECDSA_SHA2_NISTP521
SSH identifier for EC keys in NIST curve P-521 |
| public static final KeyPairProvider | EMPTY_KEYPAIR_PROVIDER
A |
| public static final String | SSH_DSS
SSH identifier for DSA keys |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | SSH_ED25519
SSH identifier for ED25519 elliptic curve keys |
| public static final String | |
| public static final String | SSH_RSA
SSH identifier for RSA keys |
| public static final String | SSH_RSA_CERT
SSH identifier for openssh cert keys |
| Modifier and Type | Method and Description |
|---|---|
| public default Iterable | getKeyTypes(SessionContext
The session)SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool).
|
| public default KeyPair | Returns: a valid key pair ornull if this type of key is not availableThe session, String SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool).the type of key to load type)Load a key of the specified type which can be "ssh-rsa", "ssh-dss", or "ecdsa-sha2-nistp{256,384,521}". |
| public static KeyPairProvider | Returns: The provider wrapperThe available pairs - ignored if pairs)null/empty (i.e., returns EMPTY_KEYPAIR_PROVIDER)Wrap the provided |
| public static KeyPairProvider | Returns: The provider wrapperWrap the provided |
| ECDSA_SHA2_NISTP256 | back to summary |
|---|---|
| public static final String ECDSA_SHA2_NISTP256 SSH identifier for EC keys in NIST curve P-256 | |
| ECDSA_SHA2_NISTP384 | back to summary |
|---|---|
| public static final String ECDSA_SHA2_NISTP384 SSH identifier for EC keys in NIST curve P-384 | |
| ECDSA_SHA2_NISTP521 | back to summary |
|---|---|
| public static final String ECDSA_SHA2_NISTP521 SSH identifier for EC keys in NIST curve P-521 | |
| EMPTY_KEYPAIR_PROVIDER | back to summary |
|---|---|
| public static final KeyPairProvider EMPTY_KEYPAIR_PROVIDER A | |
| SSH_DSS | back to summary |
|---|---|
| public static final String SSH_DSS SSH identifier for DSA keys | |
| SSH_DSS_CERT | back to summary |
|---|---|
| public static final String SSH_DSS_CERT | |
| SSH_ECDSA_SHA2_NISTP256_CERT | back to summary |
|---|---|
| public static final String SSH_ECDSA_SHA2_NISTP256_CERT | |
| SSH_ECDSA_SHA2_NISTP384_CERT | back to summary |
|---|---|
| public static final String SSH_ECDSA_SHA2_NISTP384_CERT | |
| SSH_ECDSA_SHA2_NISTP521_CERT | back to summary |
|---|---|
| public static final String SSH_ECDSA_SHA2_NISTP521_CERT | |
| SSH_ED25519 | back to summary |
|---|---|
| public static final String SSH_ED25519 SSH identifier for ED25519 elliptic curve keys | |
| SSH_ED25519_CERT | back to summary |
|---|---|
| public static final String SSH_ED25519_CERT | |
| SSH_RSA | back to summary |
|---|---|
| public static final String SSH_RSA SSH identifier for RSA keys | |
| SSH_RSA_CERT | back to summary |
|---|---|
| public static final String SSH_RSA_CERT SSH identifier for openssh cert keys | |
| getKeyTypes | back to summary |
|---|---|
public default Iterable
| |
| loadKey | back to summary |
|---|---|
| public default KeyPair loadKey(SessionContext session, String type) throws IOException, GeneralSecurityException Load a key of the specified type which can be "ssh-rsa", "ssh-dss", or
"ecdsa-sha2-nistp{256,384,521}". If there is no key of this type, return
| |
| wrap | back to summary |
|---|---|
| public static KeyPairProvider wrap(KeyPair... pairs) Wrap the provided
| |
| wrap | back to summary |
|---|---|
| public static KeyPairProvider wrap(Iterable<KeyPair> pairs) Wrap the provided
| |