com.adobe.flashaccess.sdk.protocol.license
Class AsymmetricKeyRetrieval

java.lang.Object
  extended by com.adobe.flashaccess.sdk.protocol.license.AsymmetricKeyRetrieval
All Implemented Interfaces:
KeyRetrievalInfo

public class AsymmetricKeyRetrieval
extends java.lang.Object
implements KeyRetrievalInfo

KeyRetrievalInfo for Flash Access content metadata containing AsymmetricKeyInfo. Contains information needed to retrieve a content encryption key protected with an asymmetric key.


Constructor Summary
AsymmetricKeyRetrieval(java.util.List licenseServerCreds)
          A list of Adobe-issued license server credentials containing the private key to use to decrypt the key in the metadata.
AsymmetricKeyRetrieval(ServerCredential licenseServerCred)
          An Adobe-issued license server credential containing the private key to use to decrypt the key in the metadata.
 
Method Summary
 ServerCredential getCredential()
          Retrieves the first Adobe-issued credential containing the license server's certificate and private key.
 java.util.List getCredentials()
          Retrieves all Adobe-issued credentials containing the license server's certificate and private key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsymmetricKeyRetrieval

public AsymmetricKeyRetrieval(ServerCredential licenseServerCred)
An Adobe-issued license server credential containing the private key to use to decrypt the key in the metadata.

Parameters:
licenseServerCred - The license server credential.

AsymmetricKeyRetrieval

public AsymmetricKeyRetrieval(java.util.List licenseServerCreds)
A list of Adobe-issued license server credentials containing the private key to use to decrypt the key in the metadata. One of the credentials specified must match the one used to encrypt the key in the metadata.

Parameters:
licenseServerCreds - List<ServerCredential> containing the license server credentials.
Method Detail

getCredential

public ServerCredential getCredential()
Retrieves the first Adobe-issued credential containing the license server's certificate and private key.

Returns:
The credential used to protect the key.

getCredentials

public java.util.List getCredentials()
Retrieves all Adobe-issued credentials containing the license server's certificate and private key.

Returns:
List<ServerCredential> containing credentials which could have been used to protect the key.


[an error occurred while processing this directive] [an error occurred while processing this directive]