|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.ace.techservice.cipher.AbstractAgentCipherProvider
public abstract class AbstractAgentCipherProvider
Abstract Cipher Provider implementation. Provides common functions and data for cipher providers and a ByteBuffer into which and from which the specific provider can encrypt & decrypt.
| Constructor Summary | |
|---|---|
AbstractAgentCipherProvider()
Constructor. |
|
| Method Summary | |
|---|---|
int |
getMajorVersion()
Get the major version of the cipher provider. |
int |
getMaxEncryptedSize(int inputSize)
This function provides the maximium amount of expansion encryption adds to a packet. |
int |
getMinorVersion()
Get the minor version of the cipher provider. |
void |
setBufferArray(byte[] sourceData)
Sets the buffer data to the array provided. |
void |
setMajorVersion(int majorVersion)
Set the major version of the cipher provider. |
void |
setMinorVersion(int minorVersion)
Set the minor version of the cipher provider. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.rsa.ace.techservice.cipher.AgentCipherProvider |
|---|
decryptPacket, encryptPacket, getCipherID, setKey |
| Constructor Detail |
|---|
public AbstractAgentCipherProvider()
throws AgentCipherException
AgentCipherException - If an instance of the random object cannot be
obtained.| Method Detail |
|---|
public void setBufferArray(byte[] sourceData)
throws AgentCipherException
sourceData - The array from which the byte buffer should take the data.
AgentCipherException - If the byte buffer allocation fails.public int getMajorVersion()
public int getMinorVersion()
public void setMajorVersion(int majorVersion)
majorVersion - The new major version.public void setMinorVersion(int minorVersion)
minorVersion - The new minor version.public int getMaxEncryptedSize(int inputSize)
getMaxEncryptedSize in interface AgentCipherProviderinputSize - The size of the cleartext input.
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||