Interface OpenSshCertificate

All Superinterfaces:
Destroyable, Key, PrivateKey, PublicKey, Serializable
All Known Implementing Classes:
OpenSshCertificateImpl

public interface OpenSshCertificate extends PublicKey, PrivateKey
Represents and OpenSSH certificate key as specified in PROTOCOL.certkeys
  • Field Details

  • Method Details

    • getRawKeyType

      String getRawKeyType()
    • getNonce

      byte[] getNonce()
    • getKeyType

      String getKeyType()
    • getServerHostKey

      PublicKey getServerHostKey()
    • getSerial

      long getSerial()
    • getType

      int getType()
    • getId

      String getId()
    • getPrincipals

      Collection<String> getPrincipals()
    • getValidAfter

      long getValidAfter()
    • getValidAfterDate

      default Date getValidAfterDate()
    • getValidBefore

      long getValidBefore()
    • getValidBeforeDate

      default Date getValidBeforeDate()
    • getCriticalOptions

      List<String> getCriticalOptions()
    • getExtensions

      List<String> getExtensions()
    • getReserved

      String getReserved()
    • getCaPubKey

      PublicKey getCaPubKey()
    • getMessage

      byte[] getMessage()
    • getSignature

      byte[] getSignature()
    • getSignatureAlg

      String getSignatureAlg()
    • getValidDate

      static Date getValidDate(long timestamp)