|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.security.cert.X509CRLEntry
public abstract class X509CRLEntry
用于 CRL(证书撤消列表)中已撤消证书的抽象类。 revokedCertificates 的 ASN.1 定义如下:
revokedCertificates SEQUENCE OF SEQUENCE {
userCertificate CertificateSerialNumber,
revocationDate ChoiceOfTime,
crlEntryExtensions Extensions OPTIONAL
-- if present, must be v2
} OPTIONAL
CertificateSerialNumber ::= INTEGER
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
Extension ::= SEQUENCE {
extnId OBJECT IDENTIFIER,
critical BOOLEAN DEFAULT FALSE,
extnValue OCTET STRING
-- contains a DER encoding of a value
-- of the type registered for use with
-- the extnId object identifier value
}
X509CRL,
X509Extension| 构造方法摘要 | |
|---|---|
X509CRLEntry()
|
|
| 方法摘要 | |
|---|---|
boolean |
equals(Object other)
比较此 CRL 项与给定对象的相等性。 |
X500Principal |
getCertificateIssuer()
获取此项所描述的 X509Certificate 的发布方。 |
abstract byte[] |
getEncoded()
返回此 CRL Entry 的 ASN.1 DER 编码形式,即内部 SEQUENCE。 |
abstract Date |
getRevocationDate()
获取此 X509CRLEntry 的撤消日期 revocationDate。 |
abstract BigInteger |
getSerialNumber()
获取此 X509CRLEntry 的序列号 userCertificate。 |
abstract boolean |
hasExtensions()
如果此 CRL 项有扩展,则返回 true。 |
int |
hashCode()
根据此 CRL 项的编码形式返回该 CRL 项的哈希码值。 |
abstract String |
toString()
返回此 CRL 项的字符串表示形式。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 从接口 java.security.cert.X509Extension 继承的方法 |
|---|
getCriticalExtensionOIDs, getExtensionValue, getNonCriticalExtensionOIDs, hasUnsupportedCriticalExtension |
| 构造方法详细信息 |
|---|
public X509CRLEntry()
| 方法详细信息 |
|---|
public boolean equals(Object other)
other 对象是一个 instanceof X509CRLEntry,则获取其编码形式(内部 SEQUENCE)并且与此 CRL 项的编码形式进行比较。
Object 中的 equalsother - 要与此 CRL 项进行相等性测试的对象。
Object.hashCode(),
Hashtablepublic int hashCode()
Object 中的 hashCodeObject.equals(java.lang.Object),
Hashtable
public abstract byte[] getEncoded()
throws CRLException
CRLException - 如果出现编码错误。public abstract BigInteger getSerialNumber()
public X500Principal getCertificateIssuer()
此方法用于间接 CRL。默认实现始终返回 null。希望支持间接 CRL 的子类应该重写此方法。
public abstract Date getRevocationDate()
public abstract boolean hasExtensions()
public abstract String toString()
Object 中的 toString
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。