com.rsa.swsj
Class SecurityParameters

java.lang.Object
  extended bycom.rsa.swsj.SecurityParameters
Direct Known Subclasses:
WSSParameters

public class SecurityParameters
extends java.lang.Object

This class holds parameters required by a Security operation, contained in KeyInfo objects.


Constructor Summary
SecurityParameters(SWSJContext context)

Instantiates a particular SecurityParameters object.

 
Method Summary

 SWSJContext

getContext()

Gets the SWSJContext that is used to carry a number of common parameters and state variables.

 KeyInfo[]

getKeyInfos()

Gets an array of KeyInfo objects.

 void

setKeyInfos(KeyInfo[] keyInfos)

Sets the array of KeyInfo objects that can contain keys, names, certificates, and other public key management information.

 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityParameters

public SecurityParameters(SWSJContext context)
                   throws InvalidParameterException
Instantiates a particular SecurityParameters object.

Parameters:
context - An object that collects a number of common parameters and state variables, e.g., JCE provider.
Throws:
InvalidParameterException - If context is invalid.
Method Detail

getContext

public SWSJContext getContext()
Gets the SWSJContext that is used to carry a number of common parameters and state variables.

Returns:
An object that collects a number of common parameters and state variables; for example, JCE provider.

setKeyInfos

public void setKeyInfos(KeyInfo[] keyInfos)
                 throws InvalidParameterException
Sets the array of KeyInfo objects that can contain keys, names, certificates, and other public key management information.

Parameters:
keyInfos - The array of KeyInfo objects.
Throws:
InvalidParameterException - If keyInfos are invalid.

getKeyInfos

public KeyInfo[] getKeyInfos()
Gets an array of KeyInfo objects.

Returns:
An array of KeyInfo objects that can contain keys, names, certificates, and other public key management information.