com.sun.xml.wss.impl.policy.mls
Class EncryptionTarget.Transform

java.lang.Object
  extended by com.sun.xml.wss.impl.policy.mls.EncryptionTarget.Transform
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
EncryptionTarget

public static class EncryptionTarget.Transform
extends java.lang.Object
implements java.lang.Cloneable

This class represents a Transform that can appear on an EcncryptionTarget, Instances of this class are added as CipherReference Transforms on an EcncryptionTarget


Constructor Summary
EncryptionTarget.Transform()
          Default constructor
EncryptionTarget.Transform(java.lang.String algorithm)
          Constructor
 
Method Summary
 java.lang.Object clone()
          clone operator
 boolean equals(EncryptionTarget.Transform transform)
          equals operator
 java.security.spec.AlgorithmParameterSpec getAlgorithmParameters()
           
 java.lang.String getTransform()
           
 void setAlgorithmParameters(java.security.spec.AlgorithmParameterSpec params)
          set any parameters for the Transform Algorithm
 void setTransform(java.lang.String algorithm)
          set the Transform Algorithm
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionTarget.Transform

public EncryptionTarget.Transform()
Default constructor


EncryptionTarget.Transform

public EncryptionTarget.Transform(java.lang.String algorithm)
Constructor

Parameters:
algorithm - the URI for the transform alogrithm
Method Detail

getAlgorithmParameters

public java.security.spec.AlgorithmParameterSpec getAlgorithmParameters()
Returns:
the algorithm parameters

setAlgorithmParameters

public void setAlgorithmParameters(java.security.spec.AlgorithmParameterSpec params)
set any parameters for the Transform Algorithm

Parameters:
params - a HashMap of AlgorithmParameters

setTransform

public void setTransform(java.lang.String algorithm)
set the Transform Algorithm

Parameters:
algorithm - the Algorithm for the Transform

getTransform

public java.lang.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

clone

public java.lang.Object clone()
clone operator

Overrides:
clone in class java.lang.Object
Returns:
a clone of this Transform


Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.