|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.flashaccess.sdk.revocation.RevocationList
public class RevocationList
This class contains a read-only list of certificates that have been revoked. A RevocationList object can only
be created by a RevocationListFactory,
as this class contains no public constructors.
To update an existing revocation list, use a RevocationListFactory
to digest the old list and generate a new one.
| Method Summary | |
|---|---|
byte[] |
getBytes()
Serializes and signs the revocation list contents. |
long |
getCrlNumber()
Retrieves the CRL number. |
java.lang.String |
getIssuer()
Retrieves the name of the entity which signed the revocation list. |
java.util.Date |
getNextUpdateDate()
Retrieves the date of the next revocation list update. |
java.util.Collection |
getRevocationEntries()
Retrieves a collection of all revocation entries this list represents. |
RevocationEntry |
getRevocationEntry(IssuerAndSerialNumber certIdentifier)
Retrieves the revocation entry associated with the given serial number, if it exists in the revocation list. |
java.util.Date |
getThisUpdateDate()
Retrieves the date on which this revocation list was created. |
boolean |
isRevoked(IssuerAndSerialNumber certIdentifier)
Determines whether the given certificate is revoked by this list and the revocation date is before the current date. |
void |
verifySignature(java.security.cert.X509Certificate issuerCert)
Verifies whether the revocation list was signed by the specified license server certificate. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isRevoked(IssuerAndSerialNumber certIdentifier)
certIdentifier - The certificate to check revocation.
true if the certificate is found, false otherwise.
ExpiredRevocationListException - if the Revocation List has expiredpublic RevocationEntry getRevocationEntry(IssuerAndSerialNumber certIdentifier)
certIdentifier - The certificate to check revocation.
null is returned.
ExpiredRevocationListException - if the Revocation List has expiredpublic java.util.Collection getRevocationEntries()
RevocationEntry> containing all revocation entries this list represents.
ExpiredRevocationListException - if the Revocation List has expiredpublic java.util.Date getThisUpdateDate()
public java.util.Date getNextUpdateDate()
public java.lang.String getIssuer()
public long getCrlNumber()
public void verifySignature(java.security.cert.X509Certificate issuerCert)
throws RevocationException
issuerCert - The license server certificate of a valid Revocation List issuer.
RevocationException - if the signature is not valid.
public byte[] getBytes()
throws RevocationException
RevocationException - if the serialized revocation list could not be generated.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||