iaik.pkcs.pkcs10
Interface CertRequest
- All Known Implementing Classes:
- CertificateRequest, NetscapeCertRequest
- public interface CertRequest
This interface is useful when working with PKCS#10- and Netscape-
certificate requests since both classes implement this interface.
- See Also:
CertificateRequest,
NetscapeCertRequest
|
Method Summary |
PublicKey |
getPublicKey()
Returns the public key included within this certificate request. |
boolean |
verify()
Verifies this self signed certificate request. |
verify
public boolean verify()
throws SignatureException
- Verifies this self signed certificate request.
- Returns:
true if the cert request is OK, false if not- Throws:
- SignatureException - if the cert request could not be verified
getPublicKey
public PublicKey getPublicKey()
throws InvalidKeyException
- Returns the public key included within this certificate request.
- Returns:
- the public key of the the certificate request