public class ProxyCSRGenerator extends Object
The following rules are applied basing on the parameters object:
| Constructor and Description |
|---|
ProxyCSRGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static ProxyCSR |
generate(ProxyCertificateOptions param)
Generate the proxy certificate object.
|
static ProxyCSR |
generate(ProxyCertificateOptions param,
PrivateKey signingKey)
Generate the proxy certificate object.
|
public static ProxyCSR generate(ProxyCertificateOptions param) throws InvalidKeyException, SignatureException, NoSuchAlgorithmException, CertificateEncodingException
param - request creation parametersInvalidKeyExceptionSignatureExceptionNoSuchAlgorithmExceptionCertificateEncodingExceptionIllegalArgumentException - when signingKey is null and public key was manully setpublic static ProxyCSR generate(ProxyCertificateOptions param, PrivateKey signingKey) throws InvalidKeyException, SignatureException, NoSuchAlgorithmException, CertificateEncodingException
ProxyCertificateOptions parameter contains a manually set public key.param - request creation parametersInvalidKeyExceptionSignatureExceptionNoSuchAlgorithmExceptionCertificateEncodingExceptionIllegalArgumentException - when signingKey is null and public key was manully setCopyright © 2012-2014 European Middleware Initiative. All Rights Reserved.