Class WSDerivedKeyTokenPrincipal
java.lang.Object
org.apache.wss4j.common.principal.WSDerivedKeyTokenPrincipal
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()intgetName()getNonce()intbyte[]voidsetAlgorithm(String algorithm) voidsetBasetokenId(String basetokenId) voidvoidsetLength(int length) voidvoidsetOffset(int offset) voidsetSecret(byte[] secret)
-
Constructor Details
-
WSDerivedKeyTokenPrincipal
-
-
Method Details
-
getLabel
-
setLabel
-
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
-
getName
-
setNonce
-
getBasetokenId
-
setBasetokenId
-
getAlgorithm
-
setAlgorithm
-