Package com.helger.peppol.utils
Class PeppolCertificateHelper
java.lang.Object
com.helger.peppol.utils.PeppolCertificateHelper
A specific Peppol certificate helper
- Since:
- 7.0.3
- Author:
- Philip Helger
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringgetCNOrNull(String sPrincipal) static StringgetCNOrNull(X500Principal aPrincipal) static StringgetPrincipalTypeValue(String sPrincipal, String sType) static StringgetSubjectCN(X509Certificate aCert)
-
Field Details
-
PRINCIPAL_TYPE_CN
- See Also:
-
PRINCIPAL_TYPE_O
- See Also:
-
-
Method Details
-
getSubjectCN
-
getCNOrNull
-
getCNOrNull
-
getPrincipalTypeValue
@Nullable public static String getPrincipalTypeValue(@Nullable String sPrincipal, @Nonnull String sType) throws InvalidNameException - Throws:
InvalidNameException
-
getCN
- Throws:
InvalidNameException
-