|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.policyupdate.PolicyUpdateList
public class PolicyUpdateList
This class contains a read-only list of policies which have been revoked or updated. The list may contain
PolicyRevocationEntry
items, PolicyUpdateEntry
items, or a combination thereof.
Entries may be added or removed by creating a new PolicyUpdateList
using PolicyUpdateListFactory
.
This class contains no public constructors. This class may only be instantiated via
a PolicyUpdateListFactory
.
Method Summary | |
---|---|
byte[] |
getBytes()
Serializes and signs the policy update list contents. |
java.lang.String |
getIssuer()
Retrieves the name of the entity which signed the policy update list. |
java.util.Date |
getNextUpdateDate()
Retrieves the expiration date and time of this policy update list. |
java.util.List |
getRevocationEntries()
Retrieves all the revoked entries. |
PolicyRevocationEntry |
getRevocationEntry(java.lang.String policyID)
Retrieves the revocation entry for the policy. |
java.util.Date |
getThisUpdateDate()
Retrieves the date and time this policy update list was created. |
java.util.List |
getUpdateEntries()
Retrieves all the updated entries. |
PolicyUpdateEntry |
getUpdateEntry(java.lang.String policyID)
Retrieves the updated policy for the given policy. |
boolean |
isRevoked(java.lang.String policyID)
Determines if the given policy identifier is revoked and the revocation date is before the current date. |
boolean |
isUpdated(java.lang.String policyID)
Determines if the given policy identifier has an updated policy. |
void |
verifySignature(java.security.cert.X509Certificate issuerCert)
Verifies the policy update 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 java.util.Date getThisUpdateDate()
public java.util.Date getNextUpdateDate()
public java.lang.String getIssuer()
public boolean isRevoked(java.lang.String policyID)
policyID
- The identifier of the policy to query (case-sensitive).
true
if the policy identifier is revoked, false
otherwise.
ExpiredPolicyUpdateListException
- if the Policy Update List has expiredpublic boolean isUpdated(java.lang.String policyID)
policyID
- The identifier of the policy to query (case-sensitive).
true
if the policy ID has an updated policy, false
otherwise.
ExpiredPolicyUpdateListException
- if the Policy Update List has expiredpublic java.util.List getRevocationEntries()
PolicyRevocationEntry
> containing all policies which have been revoked.
ExpiredPolicyUpdateListException
- if the Policy Update List has expiredpublic java.util.List getUpdateEntries()
PolicyUpdateEntry
> containing all policies which have been updated.
ExpiredPolicyUpdateListException
- if the Policy Update List has expiredpublic PolicyRevocationEntry getRevocationEntry(java.lang.String policyID)
null
if the identifier is not on the list.
policyID
- The identifier of the policy to query (case-sensitive).
null
is returned.
ExpiredPolicyUpdateListException
- if the Policy Update List has expiredpublic PolicyUpdateEntry getUpdateEntry(java.lang.String policyID)
null
if the identifier is not in the list.
policyID
- The identifier of the policy to query (case-sensitive).
null
is returned.
ExpiredPolicyUpdateListException
- if the Policy Update List has expiredpublic byte[] getBytes()
public void verifySignature(java.security.cert.X509Certificate issuerCert) throws PolicyUpdateListException
issuerCert
- The specified license server certificate.
PolicyUpdateListException
- if the signature is not valid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |