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 thePrincipal
interface and represents aDerivedKeyToken
. The principal's name will be thewsu:Id
value of theDerivedKeyToken
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WSDerivedKeyTokenPrincipal(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
String
getBasetokenId()
String
getLabel()
int
getLength()
String
getName()
String
getNonce()
int
getOffset()
byte[]
getSecret()
void
setAlgorithm(String algorithm)
void
setBasetokenId(String basetokenId)
void
setLabel(String label)
void
setLength(int length)
void
setNonce(String nonce)
void
setOffset(int offset)
void
setSecret(byte[] secret)
-
-
-
Constructor Detail
-
WSDerivedKeyTokenPrincipal
public WSDerivedKeyTokenPrincipal(String id)
-
-
Method Detail
-
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()
-
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)
-
-