|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.rights.SWFHash
public class SWFHash
Represents the hash of a SWF used in SWFApplicationIdentifier
Constructor Summary | |
---|---|
SWFHash(byte[] digestValue,
int maxTimeToVerify)
Specifies the hash computed on the SWF. |
|
SWFHash(java.io.InputStream swfInputStream,
int maxTimeToVerify)
Computes the hash of the SWF application in the specified input stream. |
Method Summary | |
---|---|
byte[] |
getDigestValue()
Retrieves the hash of the SWF application. |
int |
getMaxTimeToVerify()
Retrieves maximum time (in seconds) within which the client must download and verify the SWF. |
void |
setMaxTimeToVerify(int maxTimeToVerify)
Retrieves maximum time (in seconds) within which the client must download and verify the SWF. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SWFHash(byte[] digestValue, int maxTimeToVerify)
SWFHash(InputStream, int)
to compute the digest value the first time.
digestValue
- The SWF digest value.maxTimeToVerify
- Maximum time (in seconds) within which the client must download and verify the SWF.public SWFHash(java.io.InputStream swfInputStream, int maxTimeToVerify) throws java.io.IOException
swfInputStream
- The contents of the SWF.maxTimeToVerify
- Maximum time (in seconds) within which the client must download and verify the SWF.
java.io.IOException
- if a problem occurs while reading the input streamMethod Detail |
---|
public int getMaxTimeToVerify()
public void setMaxTimeToVerify(int maxTimeToVerify)
maxTimeToVerify
- maximum time (in seconds) allocated for SWF verificationpublic byte[] getDigestValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |