eu.emi.security.authn.x509.proxy
Interface ProxyCSR

All Known Implementing Classes:
ProxyCSRImpl

public interface ProxyCSR

Wraps information about a new proxy certificate signing request which was generated by the ProxyCSRGenerator.

Author:
K. Benedyczak
See Also:
ProxyCSRGenerator

Method Summary
 PKCS10CertificationRequest getCSR()
          Returns the CSR
 PrivateKey getPrivateKey()
          Returns the generated private key of this CSR.
 boolean hasPrivateKey()
           
 

Method Detail

getCSR

PKCS10CertificationRequest getCSR()
Returns the CSR

Returns:
the generated CSR

getPrivateKey

PrivateKey getPrivateKey()
                         throws IllegalStateException
Returns the generated private key of this CSR. If public key was manually set an exception is thrown.

Returns:
The private key.
Throws:
IllegalStateException - if the private and public keys were not generated

hasPrivateKey

boolean hasPrivateKey()
Returns:
true if private key was generated and is available through getPrivateKey()


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.