org.bouncycastle.jce.provider.test

Class PKIXNameConstraintsTest

Implemented Interfaces:
Test

public class PKIXNameConstraintsTest
extends SimpleTest

Test class for PKIXNameConstraintValidator.

The field testXYZ is the name to test.

The field testXYZIsConstraint must be tested if it is permitted and excluded.

The field testXYZIsNotConstraint must be tested if it is not permitted and not excluded.

Furthermore there are tests for the intersection and union of test names.

Method Summary

String
getName()
static void
main(String[] args)
void
performTest()

Methods inherited from class org.bouncycastle.util.test.SimpleTest

areEqual, fail, fail, fail, getName, perform, performTest, runTest, runTest

Method Details

getName

public String getName()
Specified by:
getName in interface Test
Overrides:
getName in interface SimpleTest

main

public static void main(String[] args)

performTest

public void performTest()
            throws Exception
Overrides:
performTest in interface SimpleTest