Interface X509CertifiedPublicKey

  • All Superinterfaces:
    CertifiedPublicKey

    public interface X509CertifiedPublicKey
    extends CertifiedPublicKey
    Certified binding of a principal to a public key using an X.509 Certificate.
    Since:
    5.4
    Version:
    $Id: f8bc5f731ff68468b837f509be9698ff6c2ce400 $
    • Method Detail

      • getNotAfter

        Date getNotAfter()
        Returns:
        the date after which this certificate is not valid.
      • getNotBefore

        Date getNotBefore()
        Returns:
        the date before which this certificate is not valid.
      • getVersionNumber

        int getVersionNumber()
        Returns:
        the X.509 version of the certificate (1, 2 or 3).
      • getSerialNumber

        BigInteger getSerialNumber()
        Returns:
        the serial number of the certificate.
      • isValidOn

        boolean isValidOn​(Date date)
        Check that the certificate is valid on the given date.
        Parameters:
        date - the date to be checked.
        Returns:
        true if the certificate is valid for the given date.
      • isRootCA

        boolean isRootCA()
        Returns:
        true if this certificate is a CA certificate.
        Since:
        6.0M1
      • getExtensions

        X509Extensions getExtensions()
        Returns:
        X.509 extension.
      • getAuthorityKeyIdentifier

        byte[] getAuthorityKeyIdentifier()
        Returns:
        the authority key identifier, or null of not available.
      • getSubjectKeyIdentifier

        byte[] getSubjectKeyIdentifier()
        Returns:
        the subject key identifier, or null of not available.