cybervillains.ca
Class CertificateCreator
java.lang.Object
cybervillains.ca.CertificateCreator
public class CertificateCreator
- extends Object
Methods for creating 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
|
Field Summary |
static String |
SIGN_ALGO
The default sign algorithm for this package is SHA1 with RSA. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIGN_ALGO
public static final String SIGN_ALGO
- The default sign algorithm for this package is SHA1 with RSA.
- See Also:
- Constant Field Values
CertificateCreator
public CertificateCreator()
createTypicalMasterCert
public static X509Certificate createTypicalMasterCert(KeyPair keyPair)
throws SignatureException,
InvalidKeyException,
SecurityException,
CertificateException,
NoSuchAlgorithmException,
NoSuchProviderException
- Creates a typical Certification Authority (CA) certificate.
- Throws:
SecurityException
InvalidKeyException
NoSuchProviderException
NoSuchAlgorithmException
CertificateException
SignatureException
Copyright © 2013. All rights reserved.