Class PKIXNameConstraintValidatorBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.pkix.PKIXNameConstraintValidatorBCFips
- All Implemented Interfaces:
-
IPKIXConstraintValidator
Wrapper class for
PKIXNameConstraintValidator.
-
Constructor Summary
ConstructorsConstructorDescriptionPKIXNameConstraintValidatorBCFips(org.bouncycastle.pkix.PKIXNameConstraintValidator constraintValidator) Creates new wrapper instance forPKIXNameConstraintValidator. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExcludedSubtree(IGeneralSubtree subtree) Calls actualaddExcludedSubtreemethod for the wrapped PKIXConstraintValidator object.voidcheckExcluded(IGeneralName name) Calls actualcheckExcludedmethod for the wrapped PKIXConstraintValidator object.voidCalls actualcheckExcludedDNmethod for the wrapped PKIXConstraintValidator object.voidcheckPermitted(IGeneralName name) Calls actualcheckPermittedmethod for the wrapped PKIXConstraintValidator object.voidCalls actualcheckPermittedDNmethod for the wrapped PKIXConstraintValidator object.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value based on the wrapped object.voidintersectPermittedSubtree(IGeneralSubtree[] permitted) Calls actualintersectPermittedSubtreemethod for the wrapped PKIXConstraintValidator object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
PKIXNameConstraintValidatorBCFips
public PKIXNameConstraintValidatorBCFips(org.bouncycastle.pkix.PKIXNameConstraintValidator constraintValidator) Creates new wrapper instance forPKIXNameConstraintValidator.- Parameters:
-
constraintValidator-PKIXNameConstraintValidatorto be wrapped
-
-
Method Details
-
checkPermittedDN
public void checkPermittedDN(IASN1Sequence dns) throws AbstractPKIXNameConstraintValidatorException Calls actualcheckPermittedDNmethod for the wrapped PKIXConstraintValidator object.- Specified by:
-
checkPermittedDNin interfaceIPKIXConstraintValidator - Parameters:
-
dns-IASN1Sequencedirect name sequence wrapper to be checked - Throws:
-
AbstractPKIXNameConstraintValidatorException- which wraps PKIXNameConstraintValidatorException
-
checkExcludedDN
Calls actualcheckExcludedDNmethod for the wrapped PKIXConstraintValidator object.- Specified by:
-
checkExcludedDNin interfaceIPKIXConstraintValidator - Parameters:
-
dns-IASN1Sequencedirect name sequence wrapper to be checked - Throws:
-
AbstractPKIXNameConstraintValidatorException- which wraps PKIXNameConstraintValidatorException
-
checkPermitted
Calls actualcheckPermittedmethod for the wrapped PKIXConstraintValidator object.- Specified by:
-
checkPermittedin interfaceIPKIXConstraintValidator - Parameters:
-
name-IGeneralNamegeneral name wrapper to be checked - Throws:
-
AbstractPKIXNameConstraintValidatorException- which wraps PKIXNameConstraintValidatorException
-
checkExcluded
Calls actualcheckExcludedmethod for the wrapped PKIXConstraintValidator object.- Specified by:
-
checkExcludedin interfaceIPKIXConstraintValidator - Parameters:
-
name-IGeneralNamegeneral name wrapper to be checked - Throws:
-
AbstractPKIXNameConstraintValidatorException- which wraps PKIXNameConstraintValidatorException
-
intersectPermittedSubtree
Calls actualintersectPermittedSubtreemethod for the wrapped PKIXConstraintValidator object.- Specified by:
-
intersectPermittedSubtreein interfaceIPKIXConstraintValidator - Parameters:
-
permitted- sequence of GeneralSubtree wrappers
-
addExcludedSubtree
Calls actualaddExcludedSubtreemethod for the wrapped PKIXConstraintValidator object.- Specified by:
-
addExcludedSubtreein interfaceIPKIXConstraintValidator - Parameters:
-
subtree-IGeneralSubtreewrapper
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoStringmethod call to the wrapped object.
-