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, IOException
param
- proxy parametersprivateKey
- key to sign the proxyInvalidKeyException
- invalid key exceptionSignatureException
- signature exceptionNoSuchAlgorithmException
- no such algorithm exceptionCertificateParsingException
- certificate parsing exceptionIOException
- IO exceptionpublic static X509Certificate[] generate(ProxyRequestOptions param, PrivateKey privateKey) throws InvalidKeyException, SignatureException, NoSuchAlgorithmException, CertificateParsingException, IOException
param
- proxy parametersprivateKey
- key to sign the proxyInvalidKeyException
- invalid key exceptionSignatureException
- signature exceptionNoSuchAlgorithmException
- no such algorithm exceptionCertificateParsingException
- certificate parsing exceptionIOException
- IO exceptionCopyright © 2012-2017 European Middleware Initiative. All Rights Reserved.