Package com.sun.xml.wss.impl.policy.mls
Class EncryptionTarget.Transform
- java.lang.Object
-
- com.sun.xml.wss.impl.policy.mls.EncryptionTarget.Transform
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- EncryptionTarget
public static class EncryptionTarget.Transform extends Object implements Cloneable
This class represents a Transform that can appear on an EcncryptionTarget, Instances of this class are added as CipherReference Transforms on an EcncryptionTarget
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()clone operatorbooleanequals(EncryptionTarget.Transform transform)equals operatorAlgorithmParameterSpecgetAlgorithmParameters()StringgetTransform()voidsetAlgorithmParameters(AlgorithmParameterSpec params)set any parameters for the Transform AlgorithmvoidsetTransform(String algorithm)set the Transform Algorithm
-
-
-
Constructor Detail
-
Transform
public Transform()
Default constructor
-
Transform
public Transform(String algorithm)
Constructor- Parameters:
algorithm- the URI for the transform alogrithm
-
-
Method Detail
-
getAlgorithmParameters
public AlgorithmParameterSpec getAlgorithmParameters()
- Returns:
- the algorithm parameters
-
setAlgorithmParameters
public void setAlgorithmParameters(AlgorithmParameterSpec params)
set any parameters for the Transform Algorithm- Parameters:
params- a HashMap of AlgorithmParameters
-
setTransform
public void setTransform(String algorithm)
set the Transform Algorithm- Parameters:
algorithm- the Algorithm for the Transform
-
getTransform
public String getTransform()
- Returns:
- algorithm the transform algorithm
-
equals
public boolean equals(EncryptionTarget.Transform transform)
equals operator- Parameters:
transform- the transform to be compared for equality- Returns:
- true if the argument transform is equal to this transform
-
-