All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cybervillains.ca.ExtendedKeyUsageConstants Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package cybervillains.ca;

/**
 * This interface stores commonly used OIDs for X.509v3 certificates.
 * 
 * ***************************************************************************************
 * Copyright (c) 2007, Information Security Partners, LLC
 * All rights reserved.
 * 
 * In a special exception, Selenium/OpenQA is allowed to use this code under the Apache License 2.0.
 * 
 * @author Brad Hill
 *
 */
interface ExtendedKeyUsageConstants {

	String keyPurposeBase = "1.3.6.1.5.5.7.3";
	
	//
	// standard key purpose ids
	//

    String serverAuth                	= keyPurposeBase + ".1";
    String clientAuth                	= keyPurposeBase + ".2";
    String codeSigning 					= keyPurposeBase + ".3";
    String emailProtection 				= keyPurposeBase + ".4";
    String ipsecEndSystem 				= keyPurposeBase + ".5";
    String ipsecTunnel 					= keyPurposeBase + ".6";
    String ipsecUser 					= keyPurposeBase + ".7";
    String timeStamping 				= keyPurposeBase + ".8";
    String OCSPSigning 					= keyPurposeBase + ".9";
	
    //
    // unusual key purpose ids
    // 
    
    String netscapeServerGatedCrypto 	= "2.16.840.1.113730.4.1";
    String verisignUnknown 		     	= "2.16.840.1.113733.1.8.1";
    String msServerGatedCrypto 			= "1.3.6.1.4.1.311.10.3.3";
	
   
    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy