Package | Description |
---|---|
org.apache.ws.security | |
org.apache.ws.security.components.crypto | |
org.apache.ws.security.handler | |
org.apache.ws.security.message |
The package provides classes to create messages that are compliant to the
OASIS Web Service Security specifications.
|
org.apache.ws.security.message.token | |
org.apache.ws.security.processor |
Modifier and Type | Method and Description |
---|---|
Crypto |
WSDocInfo.getCrypto() |
Modifier and Type | Method and Description |
---|---|
Vector |
WSSecurityEngine.processSecurityHeader(org.w3c.dom.Document doc,
String actor,
javax.security.auth.callback.CallbackHandler cb,
Crypto crypto)
Process the security header given the soap envelope as W3C document.
|
Vector |
WSSecurityEngine.processSecurityHeader(org.w3c.dom.Document doc,
String actor,
javax.security.auth.callback.CallbackHandler cb,
Crypto sigCrypto,
Crypto decCrypto)
Process the security header given the soap envelope as W3C document.
|
protected Vector |
WSSecurityEngine.processSecurityHeader(org.w3c.dom.Element securityHeader,
javax.security.auth.callback.CallbackHandler cb,
Crypto sigCrypto,
Crypto decCrypto)
Process the security header given the
wsse:Security DOM
Element. |
void |
WSDocInfo.setCrypto(Crypto crypto) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCrypto
Created by IntelliJ IDEA.
|
class |
BouncyCastle
JDK1.4 based implementation of Crypto (uses keystore).
|
class |
CryptoBase
Created by IntelliJ IDEA.
|
class |
Merlin
JDK1.4 based implementation of Crypto (uses keystore).
|
Modifier and Type | Method and Description |
---|---|
static Crypto |
CryptoFactory.getInstance()
getInstance
Returns an instance of Crypto.
|
static Crypto |
CryptoFactory.getInstance(Properties properties)
getInstance
Returns an instance of Crypto.
|
static Crypto |
CryptoFactory.getInstance(Properties properties,
ClassLoader classLoader)
getInstance
Returns an instance of Crypto loaded with the given classloader.
|
static Crypto |
CryptoFactory.getInstance(String propFilename)
getInstance
Returns an instance of Crypto.
|
static Crypto |
CryptoFactory.getInstance(String propFilename,
ClassLoader customClassLoader) |
static Crypto |
CryptoFactory.getInstance(String cryptoClassName,
Map map)
getInstance
Returns an instance of Crypto.
|
static Crypto |
CryptoFactory.getInstance(String cryptoClassName,
Properties properties)
Deprecated.
use @link{#getInstance(java.lang.String, java.util.Map)} instead.
|
Modifier and Type | Method and Description |
---|---|
Crypto |
RequestData.getDecCrypto() |
Crypto |
RequestData.getEncCrypto() |
Crypto |
RequestData.getSigCrypto() |
protected Crypto |
WSHandler.loadDecryptionCrypto(RequestData reqData)
Hook to allow subclasses to load their Decryption Crypto however they
see fit.
|
protected Crypto |
WSHandler.loadEncryptionCrypto(RequestData reqData)
Hook to allow subclasses to load their Encryption Crypto however they
see fit.
|
Crypto |
WSHandler.loadSignatureCrypto(RequestData reqData)
Hook to allow subclasses to load their Signature Crypto however they see
fit.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestData.setDecCrypto(Crypto decCrypto) |
void |
RequestData.setEncCrypto(Crypto encCrypto) |
void |
RequestData.setSigCrypto(Crypto sigCrypto) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
WSSignEnvelope.build(org.w3c.dom.Document doc,
Crypto crypto)
Deprecated.
|
org.w3c.dom.Document |
WSEncryptBody.build(org.w3c.dom.Document doc,
Crypto crypto)
Deprecated.
|
org.w3c.dom.Document |
WSSecSignature.build(org.w3c.dom.Document doc,
Crypto cr,
WSSecHeader secHeader)
Builds a signed soap envelope.
|
org.w3c.dom.Document |
WSSecEncrypt.build(org.w3c.dom.Document doc,
Crypto crypto,
WSSecHeader secHeader)
Builds the SOAP envelope with encrypted Body and adds encrypted key.
|
void |
WSSecSecurityContextToken.prepare(org.w3c.dom.Document doc,
Crypto crypto) |
void |
WSSecEncryptedKey.prepare(org.w3c.dom.Document doc,
Crypto crypto)
Prepare the ephemeralKey and the tokens required to be added to the
security header
|
void |
WSSecEncrypt.prepare(org.w3c.dom.Document doc,
Crypto crypto)
Initialize a WSSec Encrypt.
|
void |
WSSecSignature.prepare(org.w3c.dom.Document doc,
Crypto cr,
WSSecHeader secHeader)
Initialize a WSSec Signature.
|
protected void |
WSSecEncryptedKey.prepareInternal(byte[] keyBytes,
X509Certificate remoteCert,
Crypto crypto)
Encrypt the symmetric key data and prepare the EncryptedKey element
This method does the most work for to prepare the EncryptedKey element.
|
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
SecurityTokenReference.getKeyIdentifier(Crypto crypto)
Gets the KeyIdentifier.
|
X509Certificate |
X509Security.getX509Certificate(Crypto crypto)
Gets the X509Certificate certificate.
|
X509Certificate[] |
PKIPathSecurity.getX509Certificates(boolean reverse,
Crypto crypto)
get the X509Certificate array.
|
X509Certificate[] |
SecurityTokenReference.getX509IssuerSerial(Crypto crypto)
Gets the certificate identified with X509 issuerSerial data.
|
String |
SecurityTokenReference.getX509IssuerSerialAlias(Crypto crypto)
Gets the alias name of the certificate identified with X509 issuerSerial data.
|
String |
SecurityTokenReference.getX509SKIAlias(Crypto crypto) |
void |
SecurityTokenReference.setKeyIdentifierSKI(X509Certificate cert,
Crypto crypto)
Sets the KeyIdentifier Element as a X509 Subject-Key-Identifier (SKI).
|
void |
PKIPathSecurity.setX509Certificates(X509Certificate[] certs,
boolean reverse,
Crypto crypto)
set the X509Certificate array.
|
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
SignatureProcessor.getCertificatesTokenReference(org.w3c.dom.Element elem,
Crypto crypto)
Extracts the certificate(s) from the Binary Security token reference.
|
ArrayList |
EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey,
javax.security.auth.callback.CallbackHandler cb,
Crypto crypto) |
ArrayList |
EncryptedKeyProcessor.handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey,
javax.security.auth.callback.CallbackHandler cb,
Crypto crypto,
PrivateKey privateKey) |
void |
ReferenceListProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wdi,
Vector returnResults,
WSSConfig wsc) |
void |
EncryptedKeyProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig wsc) |
void |
TimestampProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig wsc) |
void |
SignatureProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig wsc) |
void |
EncryptedDataProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig config) |
void |
SecurityContextTokenProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig config) |
void |
DerivedKeyTokenProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig config) |
void |
BinarySecurityTokenProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig config) |
void |
Processor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig config) |
void |
SignatureConfirmationProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig wsc) |
void |
UsernameTokenProcessor.handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig wsc) |
protected Principal |
SignatureProcessor.verifyXMLSignature(org.w3c.dom.Element elem,
Crypto crypto,
X509Certificate[] returnCert,
Set returnElements,
List protectedElements,
byte[][] signatureValue,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo)
Verify the WS-Security signature.
|
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.