public class ProxyGenerator extends Object
| Constructor and Description |
|---|
ProxyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static ProxyCertificate |
generate(ProxyCertificateOptions param,
PrivateKey privateKey)
Generate the proxy certificate object from the local certificate.
|
static X509Certificate[] |
generate(ProxyRequestOptions param,
PrivateKey privateKey)
Generate the proxy certificate object from the received Certificate Signing Request.
|
public static ProxyCertificate generate(ProxyCertificateOptions param, PrivateKey privateKey) throws InvalidKeyException, SignatureException, NoSuchAlgorithmException, CertificateParsingException
param - proxy parametersprivateKey - key to sign the proxyInvalidKeyExceptionSignatureExceptionNoSuchAlgorithmExceptionCertificateParsingExceptionpublic static X509Certificate[] generate(ProxyRequestOptions param, PrivateKey privateKey) throws InvalidKeyException, SignatureException, NoSuchAlgorithmException, CertificateParsingException
param - proxy parametersprivateKey - key to sign the proxyInvalidKeyExceptionSignatureExceptionNoSuchAlgorithmExceptionCertificateParsingExceptionCopyright © 2012-2014 European Middleware Initiative. All Rights Reserved.