public class SshCertificate extends SshKeyPair
Modifier and Type | Field and Description |
---|---|
static int |
SSH_CERT_TYPE_HOST |
static int |
SSH_CERT_TYPE_USER |
Constructor and Description |
---|
SshCertificate(SshKeyPair pair,
OpenSshCertificate certificate) |
Modifier and Type | Method and Description |
---|---|
OpenSshCertificate |
getCertificate() |
boolean |
isHostCertificate() |
boolean |
isUserCertificate() |
equals, getKeyPair, getPrivateKey, getPublicKey, hashCode, setPrivateKey, setPublicKey
public static final int SSH_CERT_TYPE_USER
public static final int SSH_CERT_TYPE_HOST
public SshCertificate(SshKeyPair pair, OpenSshCertificate certificate)
public boolean isUserCertificate()
public boolean isHostCertificate()
public OpenSshCertificate getCertificate()
Copyright © 2024. All rights reserved.