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, getInstance
equals, hashCode
public LazyJavaxX509Certificate(byte[] bytes)
public void checkValidity() throws CertificateExpiredException, CertificateNotYetValidException
checkValidity
in class X509Certificate
CertificateExpiredException
CertificateNotYetValidException
public void checkValidity(Date date) throws CertificateExpiredException, CertificateNotYetValidException
checkValidity
in class X509Certificate
CertificateExpiredException
CertificateNotYetValidException
public int getVersion()
getVersion
in class X509Certificate
public BigInteger getSerialNumber()
getSerialNumber
in class X509Certificate
public Principal getIssuerDN()
getIssuerDN
in class X509Certificate
public Principal getSubjectDN()
getSubjectDN
in class X509Certificate
public Date getNotBefore()
getNotBefore
in class X509Certificate
public Date getNotAfter()
getNotAfter
in class X509Certificate
public String getSigAlgName()
getSigAlgName
in class X509Certificate
public String getSigAlgOID()
getSigAlgOID
in class X509Certificate
public byte[] getSigAlgParams()
getSigAlgParams
in class X509Certificate
public byte[] getEncoded()
getEncoded
in class Certificate
public void verify(PublicKey key) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
verify
in class Certificate
CertificateException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException
public void verify(PublicKey key, String sigProvider) throws CertificateException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
verify
in class Certificate
CertificateException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException
public String toString()
toString
in class Certificate
public PublicKey getPublicKey()
getPublicKey
in class Certificate
Copyright © 2008–2024 The Netty Project. All rights reserved.