Package com.sun.xml.ws.security
Interface DerivedKeyToken
-
- All Superinterfaces:
Token
- All Known Implementing Classes:
DerivedKeyTokenImpl
public interface DerivedKeyToken extends Token
DerivedKeyToken Interface TODO: This defintion is incomplete. Currently it has only those members which are required for the Trust Interop Scenarios
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_DERIVED_KEY_TOKEN_ALGORITHMstatic StringDEFAULT_DERIVEDKEYTOKEN_LABELstatic StringDERIVED_KEY_TOKEN_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecretKeygenerateSymmetricKey(String algorithm)URIgetAlgorithm()longgetGeneration()StringgetLabel()longgetLength()byte[]getNonce()longgetOffset()-
Methods inherited from interface com.sun.xml.ws.security.Token
getTokenValue, getType
-
-
-
-
Field Detail
-
DERIVED_KEY_TOKEN_TYPE
static final String DERIVED_KEY_TOKEN_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_DERIVED_KEY_TOKEN_ALGORITHM
static final String DEFAULT_DERIVED_KEY_TOKEN_ALGORITHM
- See Also:
- Constant Field Values
-
DEFAULT_DERIVEDKEYTOKEN_LABEL
static final String DEFAULT_DERIVEDKEYTOKEN_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAlgorithm
URI getAlgorithm()
-
getNonce
byte[] getNonce()
-
getLength
long getLength()
-
getOffset
long getOffset()
-
getGeneration
long getGeneration()
-
getLabel
String getLabel()
-
generateSymmetricKey
SecretKey generateSymmetricKey(String algorithm) throws InvalidKeyException, NoSuchAlgorithmException, UnsupportedEncodingException
-
-