public class DynamicBasicConstraintsExtension extends DynamicCertificateExtension
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
EXCEPTION_OCCURRED, EXPECTED_EXTENSION_ID_AND_VALUE, EXTENSION_NOT_FOUND, FOUND_VALUE| Constructor and Description |
|---|
DynamicBasicConstraintsExtension()
Create new instance of
DynamicBasicConstraintsExtension. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
existsInCertificate(X509Certificate certificate)
Check if this extension is present in the provided certificate.
|
String |
getMessage()
Returns a message with extra information about the check.
|
getCertificateChainSize, withCertificateChainSizeequals, getExtensionOid, getExtensionValue, hashCodepublic static final String ERROR_MESSAGE
public DynamicBasicConstraintsExtension()
DynamicBasicConstraintsExtension.public boolean existsInCertificate(X509Certificate certificate)
DynamicBasicConstraintsExtension, check if path length for this extension is less or equal
to the path length, specified in the certificate.existsInCertificate in class CertificateExtensioncertificate - X509Certificate in which this extension shall be presenttrue if this path length is less or equal to a one from the certificate, false otherwisepublic String getMessage()
CertificateExtensiongetMessage in class CertificateExtensionCopyright © 1998–2025 Apryse Group NV. All rights reserved.