public abstract class OpenSshCertificate extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OPTION_FORCE_COMMAND |
static String |
OPTION_SOURCE_ADDRESS |
static String |
PERMIT_AGENT_FORWARDING |
static String |
PERMIT_PORT_FORWARDING |
static String |
PERMIT_USER_PTY |
static String |
PERMIT_USER_RC |
static String |
PERMIT_X11_FORWARDING |
static int |
SSH_CERT_TYPE_HOST |
static int |
SSH_CERT_TYPE_USER |
Constructor and Description |
---|
OpenSshCertificate() |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(ByteArrayReader reader) |
protected void |
encode(ByteArrayWriter writer) |
Set<String> |
getExtensions() |
String |
getForcedCommand() |
String |
getKeyId() |
Set<String> |
getPrincipals() |
UnsignedInteger64 |
getSerial() |
SshPublicKey |
getSignedBy() |
Set<String> |
getSourceAddresses() |
int |
getType() |
Date |
getValidAfter() |
Date |
getValidBefore() |
boolean |
isForceCommand() |
public static final int SSH_CERT_TYPE_USER
public static final int SSH_CERT_TYPE_HOST
public static final String PERMIT_X11_FORWARDING
public static final String PERMIT_PORT_FORWARDING
public static final String PERMIT_AGENT_FORWARDING
public static final String PERMIT_USER_PTY
public static final String PERMIT_USER_RC
public static final String OPTION_FORCE_COMMAND
public static final String OPTION_SOURCE_ADDRESS
protected void encode(ByteArrayWriter writer) throws IOException, SshException
IOException
SshException
protected void decode(ByteArrayReader reader) throws IOException, SshException
IOException
SshException
public SshPublicKey getSignedBy()
public int getType()
public boolean isForceCommand()
public String getForcedCommand()
public Date getValidBefore()
public Date getValidAfter()
public UnsignedInteger64 getSerial()
public String getKeyId()
Copyright © 2016. All rights reserved.