public class OpenSshCertificateImpl extends Object implements OpenSshCertificate
SSH_CERT_TYPE_HOST, SSH_CERT_TYPE_USER
Constructor and Description |
---|
OpenSshCertificateImpl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValidAfterDate, getValidBeforeDate, getValidDate
destroy, isDestroyed
public String getRawKeyType()
getRawKeyType
in interface OpenSshCertificate
public byte[] getNonce()
getNonce
in interface OpenSshCertificate
public String getKeyType()
getKeyType
in interface OpenSshCertificate
public PublicKey getServerHostKey()
getServerHostKey
in interface OpenSshCertificate
public long getSerial()
getSerial
in interface OpenSshCertificate
public int getType()
getType
in interface OpenSshCertificate
public String getId()
getId
in interface OpenSshCertificate
public Collection<String> getPrincipals()
getPrincipals
in interface OpenSshCertificate
public long getValidAfter()
getValidAfter
in interface OpenSshCertificate
public long getValidBefore()
getValidBefore
in interface OpenSshCertificate
public List<String> getCriticalOptions()
getCriticalOptions
in interface OpenSshCertificate
public List<String> getExtensions()
getExtensions
in interface OpenSshCertificate
public String getReserved()
getReserved
in interface OpenSshCertificate
public PublicKey getCaPubKey()
getCaPubKey
in interface OpenSshCertificate
public byte[] getMessage()
getMessage
in interface OpenSshCertificate
public byte[] getSignature()
getSignature
in interface OpenSshCertificate
public String getSignatureAlg()
getSignatureAlg
in interface OpenSshCertificate
public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public void setKeyType(String keyType)
public void setNonce(byte[] nonce)
public void setServerHostKey(PublicKey serverHostKey)
public void setSerial(long serial)
public void setType(int type)
public void setId(String id)
public void setPrincipals(Collection<String> principals)
public void setValidAfter(long validAfter)
public void setValidBefore(long validBefore)
public void setReserved(String reserved)
public void setCaPubKey(PublicKey caPubKey)
public void setMessage(byte[] message)
public void setSignature(byte[] signature)
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.