Class 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
    • 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
      • clone

        public Object clone()
        clone operator
        Overrides:
        clone in class Object
        Returns:
        a clone of this Transform