public final class LazyJavaxX509Certificate extends X509Certificate
| Constructor and Description |
|---|
LazyJavaxX509Certificate(byte[] bytes)
Creates a new instance which will lazy parse the given bytes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkValidity() |
void |
checkValidity(Date date) |
byte[] |
getEncoded() |
Principal |
getIssuerDN() |
Date |
getNotAfter() |
Date |
getNotBefore() |
PublicKey |
getPublicKey() |
BigInteger |
getSerialNumber() |
String |
getSigAlgName() |
String |
getSigAlgOID() |
byte[] |
getSigAlgParams() |
Principal |
getSubjectDN() |
int |
getVersion() |
String |
toString() |
void |
verify(PublicKey key) |
void |
verify(PublicKey key,
String sigProvider) |
getInstance, getInstanceequals, hashCodepublic LazyJavaxX509Certificate(byte[] bytes)
public void checkValidity()
throws CertificateExpiredException,
CertificateNotYetValidException
checkValidity in class X509CertificateCertificateExpiredExceptionCertificateNotYetValidExceptionpublic void checkValidity(Date date) throws CertificateExpiredException, CertificateNotYetValidException
checkValidity in class X509CertificateCertificateExpiredExceptionCertificateNotYetValidExceptionpublic int getVersion()
getVersion in class X509Certificatepublic BigInteger getSerialNumber()
getSerialNumber in class X509Certificatepublic Principal getIssuerDN()
getIssuerDN in class X509Certificatepublic Principal getSubjectDN()
getSubjectDN in class X509Certificatepublic Date getNotBefore()
getNotBefore in class X509Certificatepublic Date getNotAfter()
getNotAfter in class X509Certificatepublic String getSigAlgName()
getSigAlgName in class X509Certificatepublic String getSigAlgOID()
getSigAlgOID in class X509Certificatepublic byte[] getSigAlgParams()
getSigAlgParams in class X509Certificatepublic byte[] getEncoded()
getEncoded in class Certificatepublic void verify(PublicKey key) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
verify in class CertificateCertificateExceptionNoSuchAlgorithmExceptionInvalidKeyExceptionNoSuchProviderExceptionSignatureExceptionpublic void verify(PublicKey key, String sigProvider) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
verify in class CertificateCertificateExceptionNoSuchAlgorithmExceptionInvalidKeyExceptionNoSuchProviderExceptionSignatureExceptionpublic String toString()
toString in class Certificatepublic PublicKey getPublicKey()
getPublicKey in class CertificateCopyright © 2008–2025 The Netty Project. All rights reserved.