public abstract class X509CRLEntry extends Object implements X509Extension
一撤销证书的CRL(证书吊销列表)的抽象类。ASN,revokedcertificates 1定义:
序列{ revokedcertificates序列usercertificate certificateserialnumber,revocationdate choiceoftime,crlentryextensions扩展可选——如果存在的话,必须V2}可选CertificateSerialNumber::=整数扩展:=序列大小(1 ..最大)的扩展扩展::=序列extnid对象标识符,临界布尔默认值,extnvalue八进制字符串-包含值的一个-已注册使用的类型——extnid对象标识符的值}
X509CRL
,
X509Extension
Constructor and Description |
---|
X509CRLEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
比较该条目与给定对象的平等。
|
X500Principal |
getCertificateIssuer()
得到的X509Certificate描述的进入发行人。
|
abstract byte[] |
getEncoded()
返回ASN.1 DER编码这1条目形式,即内序列。
|
abstract Date |
getRevocationDate()
从这个x509crlentry被撤销的日期,revocationdate。
|
CRLReason |
getRevocationReason()
返回的原因已吊销的证书,在这个条目的原因代码扩展指定。
|
abstract BigInteger |
getSerialNumber()
从这个x509crlentry获取序列号,该usercertificate。
|
abstract boolean |
hasExtensions()
返回true如果这个条目已经扩展。
|
int |
hashCode()
返回此条目从编码形式的hashCode值。
|
abstract String |
toString()
返回该条目的字符串表示。
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCriticalExtensionOIDs, getExtensionValue, getNonCriticalExtensionOIDs, hasUnsupportedCriticalExtension
public boolean equals(Object other)
other
对象是一个
instanceof
X509CRLEntry
,那么它的编码形式(内序列)检索并与本条目编码形式的比较。
equals
方法重写,继承类
Object
other
-与此条目相等测试对象。
Object.hashCode()
,
HashMap
public int hashCode()
hashCode
方法重写,继承类
Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public abstract byte[] getEncoded() throws CRLException
CRLException
-如果一个编码错误发生。
public abstract BigInteger getSerialNumber()
public X500Principal getCertificateIssuer()
该方法采用间接CRLs。默认实现总是返回空值。子类,希望支持间接CRLs应该重写它。
public abstract Date getRevocationDate()
public abstract boolean hasExtensions()
public CRLReason getRevocationReason()
null
如果这个条目没有原因代码扩展
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.