public final class LazyJavaxX509Certificate
extends javax.security.cert.X509Certificate
构造器和说明 |
---|
LazyJavaxX509Certificate(byte[] bytes)
Creates a new instance which will lazy parse the given bytes.
|
限定符和类型 | 方法和说明 |
---|---|
void |
checkValidity() |
void |
checkValidity(java.util.Date date) |
byte[] |
getEncoded() |
java.security.Principal |
getIssuerDN() |
java.util.Date |
getNotAfter() |
java.util.Date |
getNotBefore() |
java.security.PublicKey |
getPublicKey() |
java.math.BigInteger |
getSerialNumber() |
java.lang.String |
getSigAlgName() |
java.lang.String |
getSigAlgOID() |
byte[] |
getSigAlgParams() |
java.security.Principal |
getSubjectDN() |
int |
getVersion() |
java.lang.String |
toString() |
void |
verify(java.security.PublicKey key) |
void |
verify(java.security.PublicKey key,
java.lang.String sigProvider) |
public LazyJavaxX509Certificate(byte[] bytes)
public void checkValidity() throws javax.security.cert.CertificateExpiredException, javax.security.cert.CertificateNotYetValidException
checkValidity
在类中 javax.security.cert.X509Certificate
javax.security.cert.CertificateExpiredException
javax.security.cert.CertificateNotYetValidException
public void checkValidity(java.util.Date date) throws javax.security.cert.CertificateExpiredException, javax.security.cert.CertificateNotYetValidException
checkValidity
在类中 javax.security.cert.X509Certificate
javax.security.cert.CertificateExpiredException
javax.security.cert.CertificateNotYetValidException
public int getVersion()
getVersion
在类中 javax.security.cert.X509Certificate
public java.math.BigInteger getSerialNumber()
getSerialNumber
在类中 javax.security.cert.X509Certificate
public java.security.Principal getIssuerDN()
getIssuerDN
在类中 javax.security.cert.X509Certificate
public java.security.Principal getSubjectDN()
getSubjectDN
在类中 javax.security.cert.X509Certificate
public java.util.Date getNotBefore()
getNotBefore
在类中 javax.security.cert.X509Certificate
public java.util.Date getNotAfter()
getNotAfter
在类中 javax.security.cert.X509Certificate
public java.lang.String getSigAlgName()
getSigAlgName
在类中 javax.security.cert.X509Certificate
public java.lang.String getSigAlgOID()
getSigAlgOID
在类中 javax.security.cert.X509Certificate
public byte[] getSigAlgParams()
getSigAlgParams
在类中 javax.security.cert.X509Certificate
public byte[] getEncoded()
getEncoded
在类中 javax.security.cert.Certificate
public void verify(java.security.PublicKey key) throws javax.security.cert.CertificateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
verify
在类中 javax.security.cert.Certificate
javax.security.cert.CertificateException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
public void verify(java.security.PublicKey key, java.lang.String sigProvider) throws javax.security.cert.CertificateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
verify
在类中 javax.security.cert.Certificate
javax.security.cert.CertificateException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
public java.lang.String toString()
toString
在类中 javax.security.cert.Certificate
public java.security.PublicKey getPublicKey()
getPublicKey
在类中 javax.security.cert.Certificate