Package org.bouncycastle.est.test
Class TestHostNameAuthorizer
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.bouncycastle.est.test.TestHostNameAuthorizer
-
- All Implemented Interfaces:
junit.framework.Test
public class TestHostNameAuthorizer extends junit.framework.TestCase
TestHostNameAuthorizer tests the hostname authorizer only. EST related functions are not tested here.
-
-
Constructor Summary
Constructors Constructor Description TestHostNameAuthorizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCNIPMismatch()
void
testCNMatch()
void
testCNMismatch_1()
void
testSANMatch()
void
testSANMatchIP()
void
testSANMatchWC()
void
testSANMismatchIP()
void
testSANMismatchWC()
void
testWCMismatch()
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testCNMatch
public void testCNMatch() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCNMismatch_1
public void testCNMismatch_1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCNIPMismatch
public void testCNIPMismatch() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testWCMismatch
public void testWCMismatch() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSANMatch
public void testSANMatch() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSANMatchIP
public void testSANMatchIP() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSANMatchWC
public void testSANMatchWC() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSANMismatchIP
public void testSANMismatchIP() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSANMismatchWC
public void testSANMismatchWC() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-