com.sun.xml.ws.security
Interface DerivedKeyToken

All Superinterfaces:
Token

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 java.lang.String DEFAULT_DERIVED_KEY_TOKEN_ALGORITHM
           
static java.lang.String DEFAULT_DERIVEDKEYTOKEN_LABEL
           
static java.lang.String DERIVED_KEY_TOKEN_TYPE
           
 
Method Summary
 javax.crypto.SecretKey generateSymmetricKey(java.lang.String algorithm)
           
 java.net.URI getAlgorithm()
           
 long getGeneration()
           
 java.lang.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 java.lang.String DERIVED_KEY_TOKEN_TYPE
See Also:
Constant Field Values

DEFAULT_DERIVED_KEY_TOKEN_ALGORITHM

static final java.lang.String DEFAULT_DERIVED_KEY_TOKEN_ALGORITHM
See Also:
Constant Field Values

DEFAULT_DERIVEDKEYTOKEN_LABEL

static final java.lang.String DEFAULT_DERIVEDKEYTOKEN_LABEL
See Also:
Constant Field Values
Method Detail

getAlgorithm

java.net.URI getAlgorithm()

getNonce

byte[] getNonce()

getLength

long getLength()

getOffset

long getOffset()

getGeneration

long getGeneration()

getLabel

java.lang.String getLabel()

generateSymmetricKey

javax.crypto.SecretKey generateSymmetricKey(java.lang.String algorithm)
                                            throws java.security.InvalidKeyException,
                                                   java.security.NoSuchAlgorithmException,
                                                   java.io.UnsupportedEncodingException
Throws:
java.security.InvalidKeyException
java.security.NoSuchAlgorithmException
java.io.UnsupportedEncodingException


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