eu.emi.security.authn.x509.helpers.proxy
Constructor and Description |
---|
ProxyCSRImpl(PKCS10CertificationRequest csr,
PrivateKey pk) |
Modifier and Type | Method and Description |
---|---|
PKCS10CertificationRequest |
getCSR()
Returns the CSR
|
PrivateKey |
getPrivateKey()
Returns the generated private key of this CSR.
|
boolean |
hasPrivateKey() |
public ProxyCSRImpl(PKCS10CertificationRequest csr, PrivateKey pk)
csr
- pk
- use null if PrivateKey was not generatedpublic PKCS10CertificationRequest getCSR()
public PrivateKey getPrivateKey() throws IllegalStateException
getPrivateKey
in interface ProxyCSR
IllegalStateException
- if the private and public keys were not generatedpublic boolean hasPrivateKey()
hasPrivateKey
in interface ProxyCSR
ProxyCSR.getPrivateKey()
Copyright © 2012-2014 European Middleware Initiative. All Rights Reserved.