Class OpenSshCertificateImpl
- java.lang.Object
-
- org.apache.sshd.common.config.keys.OpenSshCertificateImpl
-
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,PublicKey
,Destroyable
,OpenSshCertificate
public class OpenSshCertificateImpl extends Object implements OpenSshCertificate
- Author:
- Apache MINA SSHD Project
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.apache.sshd.common.config.keys.OpenSshCertificate
SSH_CERT_TYPE_HOST, SSH_CERT_TYPE_USER
-
-
Constructor Summary
Constructors Constructor Description OpenSshCertificateImpl()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
Methods inherited from interface org.apache.sshd.common.config.keys.OpenSshCertificate
getValidAfterDate, getValidBeforeDate
-
-
-
-
Method Detail
-
getRawKeyType
public String getRawKeyType()
- Specified by:
getRawKeyType
in interfaceOpenSshCertificate
-
getNonce
public byte[] getNonce()
- Specified by:
getNonce
in interfaceOpenSshCertificate
-
getKeyType
public String getKeyType()
- Specified by:
getKeyType
in interfaceOpenSshCertificate
-
getServerHostKey
public PublicKey getServerHostKey()
- Specified by:
getServerHostKey
in interfaceOpenSshCertificate
-
getSerial
public long getSerial()
- Specified by:
getSerial
in interfaceOpenSshCertificate
-
getType
public int getType()
- Specified by:
getType
in interfaceOpenSshCertificate
-
getId
public String getId()
- Specified by:
getId
in interfaceOpenSshCertificate
-
getPrincipals
public Collection<String> getPrincipals()
- Specified by:
getPrincipals
in interfaceOpenSshCertificate
-
getValidAfter
public long getValidAfter()
- Specified by:
getValidAfter
in interfaceOpenSshCertificate
-
getValidBefore
public long getValidBefore()
- Specified by:
getValidBefore
in interfaceOpenSshCertificate
-
getCriticalOptions
public List<String> getCriticalOptions()
- Specified by:
getCriticalOptions
in interfaceOpenSshCertificate
-
getExtensions
public List<String> getExtensions()
- Specified by:
getExtensions
in interfaceOpenSshCertificate
-
getReserved
public String getReserved()
- Specified by:
getReserved
in interfaceOpenSshCertificate
-
getCaPubKey
public PublicKey getCaPubKey()
- Specified by:
getCaPubKey
in interfaceOpenSshCertificate
-
getMessage
public byte[] getMessage()
- Specified by:
getMessage
in interfaceOpenSshCertificate
-
getSignature
public byte[] getSignature()
- Specified by:
getSignature
in interfaceOpenSshCertificate
-
getSignatureAlg
public String getSignatureAlg()
- Specified by:
getSignatureAlg
in interfaceOpenSshCertificate
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
setKeyType
public void setKeyType(String keyType)
-
setNonce
public void setNonce(byte[] nonce)
-
setServerHostKey
public void setServerHostKey(PublicKey serverHostKey)
-
setSerial
public void setSerial(long serial)
-
setType
public void setType(int type)
-
setId
public void setId(String id)
-
setPrincipals
public void setPrincipals(Collection<String> principals)
-
setValidAfter
public void setValidAfter(long validAfter)
-
setValidBefore
public void setValidBefore(long validBefore)
-
setReserved
public void setReserved(String reserved)
-
setCaPubKey
public void setCaPubKey(PublicKey caPubKey)
-
setMessage
public void setMessage(byte[] message)
-
setSignature
public void setSignature(byte[] signature)
-
-