Java Globus API: Class ProxyPathValidatorTest

org.globus.gsi.proxy.test
Class ProxyPathValidatorTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.globus.gsi.proxy.test.ProxyPathValidatorTest
All Implemented Interfaces:
junit.framework.Test

public class ProxyPathValidatorTest
extends junit.framework.TestCase


Field Summary
static String[] badCerts
           
static String[][] certs
           
static String[] testCerts
           
 
Constructor Summary
ProxyPathValidatorTest(String name)
           
 
Method Summary
static X509Certificate[] initCerts()
           
static void main(String[] args)
           
static junit.framework.Test suite()
           
 void testKeyUsage()
           
 void testNoBasicConstraintsExtension()
           
 void testValidateChain()
           
 void testValidateGsi2PathGood()
           
 void testValidateGsi3PathGood()
           
 void testValidatePathBad()
           
 void testValidatePathCAPathConstraint()
           
 void testValidatePathMixedProxy()
           
 void testValidatePathProxyPathConstraint()
           
 void testValidatePathWithRestrictedProxy()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

certs

public static String[][] certs

badCerts

public static String[] badCerts

testCerts

public static String[] testCerts
Constructor Detail

ProxyPathValidatorTest

public ProxyPathValidatorTest(String name)
Method Detail

main

public static void main(String[] args)

suite

public static junit.framework.Test suite()

initCerts

public static X509Certificate[] initCerts()
                                   throws Exception

testValidateGsi2PathGood

public void testValidateGsi2PathGood()
                              throws Exception

testValidateGsi3PathGood

public void testValidateGsi3PathGood()
                              throws Exception

testValidatePathWithRestrictedProxy

public void testValidatePathWithRestrictedProxy()
                                         throws Exception

testValidatePathBad

public void testValidatePathBad()
                         throws Exception

testValidatePathMixedProxy

public void testValidatePathMixedProxy()
                                throws Exception

testValidatePathProxyPathConstraint

public void testValidatePathProxyPathConstraint()
                                         throws Exception

testValidatePathCAPathConstraint

public void testValidatePathCAPathConstraint()
                                      throws Exception

testValidateChain

public void testValidateChain()
                       throws Exception

testKeyUsage

public void testKeyUsage()
                  throws Exception

testNoBasicConstraintsExtension

public void testNoBasicConstraintsExtension()
                                     throws Exception