Package org.apache.wss4j.common
Class SignatureEncryptionActionToken
java.lang.Object
org.apache.wss4j.common.SignatureEncryptionActionToken
- All Implemented Interfaces:
SecurityActionToken
- Direct Known Subclasses:
EncryptionActionToken,SignatureActionToken
This abstract class encapsulates configuration for Signature + Encryption Actions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbyte[]getKey()intgetParts()getUser()booleanvoidsetCertificate(X509Certificate certificate) voidvoidsetCryptoProperties(String cryptoProperties) voidsetDerivedKeyIdentifier(int derivedKeyIdentifier) voidsetDerivedKeyLength(int derivedKeyLength) voidsetDerivedKeyTokenReference(String derivedKeyTokenReference) voidsetDigestAlgorithm(String digestAlgorithm) voidsetIncludeToken(boolean includeToken) voidsetKey(byte[] key) voidsetKeyIdentifier(String keyIdentifier) voidsetKeyIdentifierId(int keyIdentifierId) voidsetKeyInfoElement(Element keyInfoElement) voidsetOptionalParts(String optionalParts) voidsetParts(List<WSEncryptionPart> parts) voidsetSha1Value(String sha1Value) voidsetTokenId(String tokenId) voidsetTokenType(String tokenType) void
-
Constructor Details
-
SignatureEncryptionActionToken
public SignatureEncryptionActionToken()
-
-
Method Details
-
getCertificate
- Specified by:
getCertificatein interfaceSecurityActionToken
-
setCertificate
-
getKey
public byte[] getKey()- Specified by:
getKeyin interfaceSecurityActionToken
-
setKey
public void setKey(byte[] key) -
getKeyInfoElement
-
setKeyInfoElement
-
getUser
- Specified by:
getUserin interfaceSecurityActionToken
-
setUser
-
getCrypto
- Specified by:
getCryptoin interfaceSecurityActionToken- Throws:
WSSecurityException
-
setCrypto
-
getKeyIdentifier
-
setKeyIdentifier
-
getDigestAlgorithm
-
setDigestAlgorithm
-
getOptionalParts
-
setOptionalParts
-
getKeyIdentifierId
public int getKeyIdentifierId() -
setKeyIdentifierId
public void setKeyIdentifierId(int keyIdentifierId) -
getParts
-
setParts
-
setCryptoProperties
-
getCryptoProperties
- Specified by:
getCryptoPropertiesin interfaceSecurityActionToken
-
getTokenType
-
setTokenType
-
getTokenId
-
setTokenId
-
getSha1Value
-
setSha1Value
-
getDerivedKeyTokenReference
-
setDerivedKeyTokenReference
-
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)
-