Class WolfSSLX509X


  • public class WolfSSLX509X
    extends javax.security.cert.X509Certificate
    javax version of certificates. Depreciated, WolfSSLX509 should be used instead
    Author:
    wolfSSL
    • Method Detail

      • checkValidity

        public void checkValidity()
                           throws javax.security.cert.CertificateExpiredException,
                                  javax.security.cert.CertificateNotYetValidException
        Specified by:
        checkValidity in class javax.security.cert.X509Certificate
        Throws:
        javax.security.cert.CertificateExpiredException
        javax.security.cert.CertificateNotYetValidException
      • checkValidity

        public void checkValidity​(java.util.Date date)
                           throws javax.security.cert.CertificateExpiredException,
                                  javax.security.cert.CertificateNotYetValidException
        Specified by:
        checkValidity in class javax.security.cert.X509Certificate
        Throws:
        javax.security.cert.CertificateExpiredException
        javax.security.cert.CertificateNotYetValidException
      • getVersion

        public int getVersion()
        Specified by:
        getVersion in class javax.security.cert.X509Certificate
      • getSerialNumber

        public java.math.BigInteger getSerialNumber()
        Specified by:
        getSerialNumber in class javax.security.cert.X509Certificate
      • getIssuerDN

        public java.security.Principal getIssuerDN()
        Specified by:
        getIssuerDN in class javax.security.cert.X509Certificate
      • getSubjectDN

        public java.security.Principal getSubjectDN()
        Specified by:
        getSubjectDN in class javax.security.cert.X509Certificate
      • getNotBefore

        public java.util.Date getNotBefore()
        Specified by:
        getNotBefore in class javax.security.cert.X509Certificate
      • getNotAfter

        public java.util.Date getNotAfter()
        Specified by:
        getNotAfter in class javax.security.cert.X509Certificate
      • getSigAlgName

        public java.lang.String getSigAlgName()
        Specified by:
        getSigAlgName in class javax.security.cert.X509Certificate
      • getSigAlgOID

        public java.lang.String getSigAlgOID()
        Specified by:
        getSigAlgOID in class javax.security.cert.X509Certificate
      • getSigAlgParams

        public byte[] getSigAlgParams()
        Specified by:
        getSigAlgParams in class javax.security.cert.X509Certificate
      • getEncoded

        public byte[] getEncoded()
                          throws javax.security.cert.CertificateEncodingException
        Specified by:
        getEncoded in class javax.security.cert.Certificate
        Throws:
        javax.security.cert.CertificateEncodingException
      • verify

        public void verify​(java.security.PublicKey key)
                    throws javax.security.cert.CertificateException,
                           java.security.NoSuchAlgorithmException,
                           java.security.InvalidKeyException,
                           java.security.NoSuchProviderException,
                           java.security.SignatureException
        Specified by:
        verify in class javax.security.cert.Certificate
        Throws:
        javax.security.cert.CertificateException
        java.security.NoSuchAlgorithmException
        java.security.InvalidKeyException
        java.security.NoSuchProviderException
        java.security.SignatureException
      • verify

        public void verify​(java.security.PublicKey key,
                           java.lang.String provider)
                    throws javax.security.cert.CertificateException,
                           java.security.NoSuchAlgorithmException,
                           java.security.InvalidKeyException,
                           java.security.NoSuchProviderException,
                           java.security.SignatureException
        Specified by:
        verify in class javax.security.cert.Certificate
        Throws:
        javax.security.cert.CertificateException
        java.security.NoSuchAlgorithmException
        java.security.InvalidKeyException
        java.security.NoSuchProviderException
        java.security.SignatureException
      • toString

        public java.lang.String toString()
        Specified by:
        toString in class javax.security.cert.Certificate
      • getPublicKey

        public java.security.PublicKey getPublicKey()
        Specified by:
        getPublicKey in class javax.security.cert.Certificate
      • finalize

        public void finalize()
                      throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable