|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Certificate
Interface to access to the information contained into a digital certificate. It provides needed methods to get different attributes of the certificate.
Certificate| Method Summary | |
|---|---|
java.security.cert.X509Certificate |
getCert()
Returns the X509 Certificate. |
java.lang.String |
getCertCaName()
Gets the name of the certification authority. |
java.lang.String |
getCertSubjectAlternativeNames()
Gets the concatenation of the subject's alternate name as follows: name0 = value, name1 = value, ... |
java.lang.String |
getCertSubjectCommonName()
Gets the subject's Common Name of the certificate. |
ParsedCertificate |
getParsedCertificate()
Gets a ParsedCertificate object with the subject's credentials. |
boolean |
verify()
Verify the certificate and its certification chain. |
| Method Detail |
|---|
java.lang.String getCertCaName()
java.lang.String getCertSubjectCommonName()
java.lang.String getCertSubjectAlternativeNames()
java.security.cert.X509Certificate getCert()
ParsedCertificate getParsedCertificate()
boolean verify()
throws java.io.IOException,
CertificateVerifyException
true if verification is successful false otherwise.
java.io.IOException - if unable to access to the file.
CertificateVerifyException - if it hasn't been able to finish the verification process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||