Class KeyTools
java.lang.Object
org.jboss.resteasy.security.KeyTools
Class provides utility functions for generation of V1
X509Certificate
- Version:
- $Revision: 2 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic X509Certificate
generateTestCertificate
(String subject, String issuer, KeyPair pair) Generate version 1 self signedX509Certificate
static X509Certificate
Generate version 1 self signedX509Certificate
-
Constructor Details
-
KeyTools
public KeyTools()
-
-
Method Details
-
generateTestCertificate
Generate version 1 self signedX509Certificate
- Parameters:
pair
- the CA key pair- Returns:
- the x509 certificate
- Throws:
Exception
- the exception
-
generateTestCertificate
Generate version 1 self signedX509Certificate
- Parameters:
subject
- the subject nameissuer
- the issuer namepair
- the CA key pair- Returns:
- the x509 certificate
- Throws:
Exception
- the exception
-