|
JavaTM 2 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 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。