Package com.adyen.terminal.security
Interface CertificateInfo
-
- All Known Implementing Classes:
X509CertificateInfo
public interface CertificateInfoAn 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetSubjectName()Returns the subject distinguished name of the certificate.
-
-
-
Method Detail
-
getSubjectName
String getSubjectName()
Returns the subject distinguished name of the certificate.- Returns:
- the subject DN as a string.
-
-