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
static String DEFAULT_DERIVED_KEY_TOKEN_ALGORITHM
           
static String DEFAULT_DERIVEDKEYTOKEN_LABEL
           
static String DERIVED_KEY_TOKEN_TYPE
           
 
Method Summary
 SecretKey generateSymmetricKey(String algorithm)
           
 URI getAlgorithm()
           
 long getGeneration()
           
 String getLabel()
           
 long getLength()
           
 byte[] getNonce()
           
 long getOffset()
           
 
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
Throws:
InvalidKeyException
NoSuchAlgorithmException
UnsupportedEncodingException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.