|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.caib.signatura.impl.CertificateImpl
public class CertificateImpl
| Constructor Summary | |
|---|---|
CertificateImpl(java.security.cert.X509Certificate[] certificateChain)
Constructor. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CertificateImpl(java.security.cert.X509Certificate[] certificateChain)
certificateChain - | Method Detail |
|---|
public java.lang.String getCertCaName()
getCertCaName in interface Certificatepublic java.lang.String getCertSubjectCommonName()
getCertSubjectCommonName in interface Certificatepublic java.lang.String getCertSubjectAlternativeNames()
getCertSubjectAlternativeNames in interface Certificatepublic java.security.cert.X509Certificate getCert()
getCert in interface Certificatepublic ParsedCertificate getParsedCertificate()
getParsedCertificate in interface Certificate
public boolean verify()
throws java.io.IOException,
CertificateVerifyException
verify in interface Certificatetrue 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 | |||||||||