Interface CertificateInfo

  • All Known Implementing Classes:
    X509CertificateInfo

    public interface CertificateInfo
    An abstraction for certificate information used in validation. This interface decouples the validator from JDK certificate classes, making testing easier and compatible with Java 21+ where certain certificate classes are sealed.
    • Method Detail

      • getSubjectName

        String getSubjectName()
        Returns the subject distinguished name of the certificate.
        Returns:
        the subject DN as a string.