Interface IPKIXConstraintValidator
- All Known Implementing Classes:
-
PKIXNameConstraintValidatorBC,PKIXNameConstraintValidatorBCFips
public interface IPKIXConstraintValidator
This interface represents the wrapper for PKIXConstraintValidator that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
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.voidintersectPermittedSubtree(IGeneralSubtree[] permitted) Calls actualintersectPermittedSubtreemethod for the wrapped PKIXConstraintValidator object.
-
Method Details
-
checkPermittedDN
Calls actualcheckPermittedDNmethod for the wrapped PKIXConstraintValidator object.- Parameters:
-
dns-IASN1Sequencedirect name sequence wrapper to be checked - Throws:
-
AbstractPKIXNameConstraintValidatorException- which wraps PKIXNameConstraintValidatorException
-
checkExcludedDN
Calls actualcheckExcludedDNmethod for the wrapped PKIXConstraintValidator object.- Parameters:
-
dns-IASN1Sequencedirect name sequence wrapper to be checked - Throws:
-
AbstractPKIXNameConstraintValidatorException- which wraps PKIXNameConstraintValidatorException
-
checkPermitted
Calls actualcheckPermittedmethod for the wrapped PKIXConstraintValidator object.- Parameters:
-
name-IGeneralNamegeneral name wrapper to be checked - Throws:
-
AbstractPKIXNameConstraintValidatorException- which wraps PKIXNameConstraintValidatorException
-
checkExcluded
Calls actualcheckExcludedmethod for the wrapped PKIXConstraintValidator object.- Parameters:
-
name-IGeneralNamegeneral name wrapper to be checked - Throws:
-
AbstractPKIXNameConstraintValidatorException- which wraps PKIXNameConstraintValidatorException
-
intersectPermittedSubtree
Calls actualintersectPermittedSubtreemethod for the wrapped PKIXConstraintValidator object.- Parameters:
-
permitted- sequence of GeneralSubtree wrappers
-
addExcludedSubtree
Calls actualaddExcludedSubtreemethod for the wrapped PKIXConstraintValidator object.- Parameters:
-
subtree-IGeneralSubtreewrapper
-