Class WSDerivedKeyTokenPrincipal

java.lang.Object
org.apache.wss4j.common.principal.WSDerivedKeyTokenPrincipal
All Implemented Interfaces:
Serializable, Principal

public class WSDerivedKeyTokenPrincipal extends Object implements Serializable, Principal
This class implements the Principal interface and represents a DerivedKeyToken. The principal's name will be the wsu:Id value of the DerivedKeyToken
See Also:
  • Constructor Details

    • WSDerivedKeyTokenPrincipal

      public WSDerivedKeyTokenPrincipal(String id)
  • Method Details

    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getSecret

      public byte[] getSecret()
    • setSecret

      public void setSecret(byte[] secret)
    • getLength

      public int getLength()
    • setLength

      public void setLength(int length)
    • getOffset

      public int getOffset()
    • setOffset

      public void setOffset(int offset)
    • getNonce

      public String getNonce()
    • getName

      public String getName()
      Specified by:
      getName in interface Principal
    • setNonce

      public void setNonce(String nonce)
    • getBasetokenId

      public String getBasetokenId()
    • setBasetokenId

      public void setBasetokenId(String basetokenId)
    • getAlgorithm

      public String getAlgorithm()
    • setAlgorithm

      public void setAlgorithm(String algorithm)