org.apache.wss4j.common
Class SignatureEncryptionActionToken

java.lang.Object
  extended by org.apache.wss4j.common.SignatureEncryptionActionToken
All Implemented Interfaces:
SecurityActionToken
Direct Known Subclasses:
EncryptionActionToken, SignatureActionToken

public abstract class SignatureEncryptionActionToken
extends Object
implements SecurityActionToken

This abstract class encapsulates configuration for Signature + Encryption Actions.


Constructor Summary
SignatureEncryptionActionToken()
           
 
Method Summary
 X509Certificate getCertificate()
           
 Crypto getCrypto()
           
 String getCryptoProperties()
           
 int getDerivedKeyIdentifier()
           
 int getDerivedKeyLength()
           
 String getDerivedKeyTokenReference()
           
 String getDigestAlgorithm()
           
 byte[] getKey()
           
 String getKeyIdentifier()
           
 int getKeyIdentifierId()
           
 Element getKeyInfoElement()
           
 String getOptionalParts()
           
 List<WSEncryptionPart> getParts()
           
 String getSha1Value()
           
 String getTokenId()
           
 String getTokenType()
           
 String getUser()
           
 boolean isIncludeToken()
           
 void setCertificate(X509Certificate certificate)
           
 void setCrypto(Crypto crypto)
           
 void setCryptoProperties(String cryptoProperties)
           
 void setDerivedKeyIdentifier(int derivedKeyIdentifier)
           
 void setDerivedKeyLength(int derivedKeyLength)
           
 void setDerivedKeyTokenReference(String derivedKeyTokenReference)
           
 void setDigestAlgorithm(String digestAlgorithm)
           
 void setIncludeToken(boolean includeToken)
           
 void setKey(byte[] key)
           
 void setKeyIdentifier(String keyIdentifier)
           
 void setKeyIdentifierId(int keyIdentifierId)
           
 void setKeyInfoElement(Element keyInfoElement)
           
 void setOptionalParts(String optionalParts)
           
 void setParts(List<WSEncryptionPart> parts)
           
 void setSha1Value(String sha1Value)
           
 void setTokenId(String tokenId)
           
 void setTokenType(String tokenType)
           
 void setUser(String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureEncryptionActionToken

public SignatureEncryptionActionToken()
Method Detail

getCertificate

public X509Certificate getCertificate()
Specified by:
getCertificate in interface SecurityActionToken

setCertificate

public void setCertificate(X509Certificate certificate)

getKey

public byte[] getKey()
Specified by:
getKey in interface SecurityActionToken

setKey

public void setKey(byte[] key)

getKeyInfoElement

public Element getKeyInfoElement()

setKeyInfoElement

public void setKeyInfoElement(Element keyInfoElement)

getUser

public String getUser()
Specified by:
getUser in interface SecurityActionToken

setUser

public void setUser(String user)

getCrypto

public Crypto getCrypto()
                 throws WSSecurityException
Specified by:
getCrypto in interface SecurityActionToken
Throws:
WSSecurityException

setCrypto

public void setCrypto(Crypto crypto)

getKeyIdentifier

public String getKeyIdentifier()

setKeyIdentifier

public void setKeyIdentifier(String keyIdentifier)

getDigestAlgorithm

public String getDigestAlgorithm()

setDigestAlgorithm

public void setDigestAlgorithm(String digestAlgorithm)

getOptionalParts

public String getOptionalParts()

setOptionalParts

public void setOptionalParts(String optionalParts)

getKeyIdentifierId

public int getKeyIdentifierId()

setKeyIdentifierId

public void setKeyIdentifierId(int keyIdentifierId)

getParts

public List<WSEncryptionPart> getParts()

setParts

public void setParts(List<WSEncryptionPart> parts)

getCryptoProperties

public String getCryptoProperties()
Specified by:
getCryptoProperties in interface SecurityActionToken

setCryptoProperties

public void setCryptoProperties(String cryptoProperties)

getTokenType

public String getTokenType()

setTokenType

public void setTokenType(String tokenType)

getTokenId

public String getTokenId()

setTokenId

public void setTokenId(String tokenId)

getSha1Value

public String getSha1Value()

setSha1Value

public void setSha1Value(String sha1Value)

getDerivedKeyTokenReference

public String getDerivedKeyTokenReference()

setDerivedKeyTokenReference

public void setDerivedKeyTokenReference(String derivedKeyTokenReference)

getDerivedKeyLength

public int getDerivedKeyLength()

setDerivedKeyLength

public void setDerivedKeyLength(int derivedKeyLength)

getDerivedKeyIdentifier

public int getDerivedKeyIdentifier()

setDerivedKeyIdentifier

public void setDerivedKeyIdentifier(int derivedKeyIdentifier)

isIncludeToken

public boolean isIncludeToken()

setIncludeToken

public void setIncludeToken(boolean includeToken)


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.