FileDocCategorySizeDatePackage
WSTrustElementBase.javaAPI DocExample9616Tue May 29 16:56:56 BST 2007com.sun.xml.ws.security.trust.elements

WSTrustElementBase

public interface WSTrustElementBase
author
WS-Trust Implementation Team.

Fields Summary
Constructors Summary
Methods Summary
public AllowPostdatinggetAllowPostdating()
Get the AllowPostdating element for the token if specified, null otherwise NOTE: Although this is an issue with the WSTrust spec, leaving it here for now. This can be removed or modified later depending on the outcome of the issue.

public com.sun.xml.ws.policy.impl.bindings.AppliesTogetAppliesTo()
Get the desired AppliesTo policy settings for the token if specified, null otherwise

return
{@link AppliesTo}

public java.net.URIgetAuthenticationType()
get Authentication Type parameter if set, null otherwise

public BinaryExchangegetBinaryExchange()
get BinaryExchange element if any, null otherwise

public java.net.URIgetCanonicalizationAlgorithm()
get CanonicalizationAlgorithm value if set, return default otherwise

public java.net.URIgetComputedKeyAlgorithm()
get CanonicalizationAlgorithm value if set, return default otherwise

public booleangetDelegatable()
Get the value of the Delegatable flag NOTE: default value of this flag is false

public DelegateTogetDelegateTo()
get the DelegateTo value if set, null otherwise

public java.net.URIgetEncryptWith()
Get the Encryption Algorithm to be used with the token if set, null otherwise

public EncryptiongetEncryption()
get Encryption value if set, return null otherwise

public java.net.URIgetEncryptionAlgorithm()
get EncryptionAlgorithm value if set, return default otherwise

public EntropygetEntropy()
Get the entropy for the requested token

return
{@link Entropy}

public booleangetForwardable()
Get the value of the Forwardable flag NOTE: default value of this flag is true

public IssuergetIssuer()
get Issuer of the SecurityToken Presented in the Message, null otherwise

public longgetKeySize()
get the KeySize parameter if specified, 0 otherwise

public java.net.URIgetKeyType()
get KeyType Parameter if set, null otherwise

public LifetimegetLifetime()
Get the desired LifeTime settings for the token if specified, null otherwise

public OnBehalfOfgetOnBehalfOf()
Get the value of OnBehalfOf for the token if specified, null otherwise

return
{@link OnBehalfOf}

public com.sun.xml.ws.policy.PolicygetPolicy()
Get the desired policy settings for the token if specified, null otherwise

public com.sun.xml.ws.policy.impl.bindings.PolicyReferencegetPolicyReference()
Get the desired policyReference settings for the token if specified, null otherwise

public ProofEncryptiongetProofEncryption()
Get the desired proofEncryption settings for the token if specified, null otherwise

public RenewinggetRenewable()
get the

public SignChallengegetSignChallenge()
get SignChallenge element if any, null otherwise

public java.net.URIgetSignWith()
Get the Signature Algorithm to be used with the token if set, null otherwise

public java.net.URIgetSignatureAlgorithm()
get SignatureAlgorithm value if set, return default otherwise

public java.net.URIgetTokenType()
Get the type of security token, specified as a URI.

return
{@link URI}

public UseKeygetUseKey()
Get the desired useKey settings for the token if specified, null otherwise

public voidsetAllowPostdating(AllowPostdating allowPostDating)
Set the desired policyReference settings for the requested token

public voidsetAppliesTo(com.sun.xml.ws.policy.impl.bindings.AppliesTo appliesTo)
Set the desired policy settings for the requested token

param
appliesTo {@link AppliesTo}

public voidsetAuthenticationType(java.net.URI uri)
set AuthenticationType

public voidsetBinaryExchange(BinaryExchange challenge)
set a BinaryExchange

public voidsetCanonicalizationAlgorithm(java.net.URI algorithm)
set CanonicalizationAlgorithm

public voidsetComputedKeyAlgorithm(java.net.URI algorithm)
set ComputedKeyAlgorithm

public voidsetDelegatable(boolean flag)
Set if the requested token be delegatable

public voidsetDelegateTo(DelegateTo to)
set the Delegate to which the issued token be delegated

public voidsetEncryptWith(java.net.URI algorithm)
Set the Encryption Algorithm to be used with the issued token

public voidsetEncryption(Encryption enc)
set Encryption

public voidsetEncryptionAlgorithm(java.net.URI algorithm)
set EncryptionAlgorithm

public voidsetEntropy(Entropy entropy)
Set the entropy for the requested token

param
entropy {@link Entropy}

public voidsetForwardable(boolean flag)
Set if the requested token be forwardable

public voidsetIssuer(Issuer issuer)
set Issuer of the SecurityToken Presented in the message

public voidsetKeySize(long size)
set the KeySize parameter

public voidsetKeyType(java.net.URI keytype)
set KeyType parameter

public voidsetLifetime(Lifetime lifetime)
Set the desired lifetime settings for the requested token

public voidsetOnBehalfOf(OnBehalfOf onBehalfOf)
Set the value of OnBehalfOf for the requested token

param
appliesTo {@link OnBehalfOf}

public voidsetPolicy(com.sun.xml.ws.policy.Policy policy)
Set the desired policy settings for the requested token

public voidsetPolicyReference(com.sun.xml.ws.policy.impl.bindings.PolicyReference policyRef)
Set the desired policyReference settings for the requested token

public voidsetProofEncryption(ProofEncryption proofEncryption)
Set the desired proofEncryption settings for the requested token

public voidsetRenewable(Renewing renew)
set a

public voidsetSignChallenge(SignChallenge challenge)
Set a SignChallenge

public voidsetSignWith(java.net.URI algorithm)
Set the Signature Algorithm to be used with the issued token

public voidsetSignatureAlgorithm(java.net.URI algorithm)
set SignatureAlgorithm

public voidsetTokenType(java.net.URI tokenType)
Set the type of security token, specified as a URI.

param
tokenType {@link URI}

public voidsetUseKey(UseKey useKey)
Set the desired useKey settings for the requested token