Interface OpenSshCertificate

  • All Superinterfaces:
    javax.security.auth.Destroyable, java.security.Key, java.security.PrivateKey, java.security.PublicKey, java.io.Serializable
    All Known Implementing Classes:
    OpenSshCertificateImpl

    public interface OpenSshCertificate
    extends java.security.PublicKey, java.security.PrivateKey
    Represents and OpenSSH certificate key as specified in PROTOCOL.certkeys
    • Method Detail

      • getRawKeyType

        java.lang.String getRawKeyType()
      • getNonce

        byte[] getNonce()
      • getKeyType

        java.lang.String getKeyType()
      • getServerHostKey

        java.security.PublicKey getServerHostKey()
      • getSerial

        long getSerial()
      • getType

        int getType()
      • getId

        java.lang.String getId()
      • getPrincipals

        java.util.Collection<java.lang.String> getPrincipals()
      • getValidAfter

        long getValidAfter()
      • getValidAfterDate

        default java.util.Date getValidAfterDate()
      • getValidBefore

        long getValidBefore()
      • getValidBeforeDate

        default java.util.Date getValidBeforeDate()
      • getCriticalOptions

        java.util.List<java.lang.String> getCriticalOptions()
      • getExtensions

        java.util.List<java.lang.String> getExtensions()
      • getReserved

        java.lang.String getReserved()
      • getCaPubKey

        java.security.PublicKey getCaPubKey()
      • getMessage

        byte[] getMessage()
      • getSignature

        byte[] getSignature()
      • getSignatureAlg

        java.lang.String getSignatureAlg()
      • getValidDate

        static java.util.Date getValidDate​(long timestamp)