org.apache.wss4j.common
Class SignatureEncryptionActionToken
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureEncryptionActionToken
public SignatureEncryptionActionToken()
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.