Package | Description |
---|---|
org.apache.cxf.ws.security.wss4j | |
org.apache.cxf.ws.security.wss4j.policyvalidators | |
org.apache.wss4j.dom | |
org.apache.wss4j.dom.engine | |
org.apache.wss4j.dom.util |
Modifier and Type | Method and Description |
---|---|
static void |
CryptoCoverageUtil.checkAttachmentsCoverage(Collection<Attachment> attachments,
Collection<WSDataRef> refs,
CryptoCoverageUtil.CoverageType type,
CryptoCoverageUtil.CoverageScope scope) |
static void |
CryptoCoverageUtil.checkBodyCoverage(Element soapBody,
Collection<WSDataRef> refs,
CryptoCoverageUtil.CoverageType type,
CryptoCoverageUtil.CoverageScope scope)
Checks that the references provided refer to the
signed/encrypted SOAP body element.
|
static void |
CryptoCoverageUtil.checkCoverage(Element soapEnvelope,
Collection<WSDataRef> refs,
Map<String,String> namespaces,
Collection<String> xPaths,
CryptoCoverageUtil.CoverageType type,
CryptoCoverageUtil.CoverageScope scope)
Checks that the references provided refer to the required
signed/encrypted elements as defined by the XPath expressions in
xPaths . |
static void |
CryptoCoverageUtil.checkCoverage(Element soapEnvelope,
Collection<WSDataRef> refs,
Map<String,String> namespaces,
String xPath,
CryptoCoverageUtil.CoverageType type,
CryptoCoverageUtil.CoverageScope scope)
Checks that the references provided refer to the required
signed/encrypted elements as defined by the XPath expression in
xPath . |
static void |
CryptoCoverageUtil.checkCoverage(Element soapEnvelope,
Collection<WSDataRef> refs,
XPath xpath,
Collection<String> xPaths,
CryptoCoverageUtil.CoverageType type,
CryptoCoverageUtil.CoverageScope scope)
Checks that the references provided refer to the required
signed/encrypted elements as defined by the XPath expressions in
xPaths . |
static void |
CryptoCoverageUtil.checkHeaderCoverage(Element soapHeader,
Collection<WSDataRef> refs,
String namespace,
String name,
CryptoCoverageUtil.CoverageType type,
CryptoCoverageUtil.CoverageScope scope)
Checks that the references provided refer to the required
signed/encrypted SOAP header element(s) matching the provided name and
namespace.
|
static void |
CryptoCoverageUtil.reconcileEncryptedSignedRefs(Collection<WSDataRef> signedRefs,
Collection<WSDataRef> encryptedRefs)
Inspects the signed and encrypted content in the message and accurately
resolves encrypted and then signed elements in
signedRefs . |
static void |
CryptoCoverageUtil.reconcileEncryptedSignedRefs(Collection<WSDataRef> signedRefs,
Collection<WSDataRef> encryptedRefs)
Inspects the signed and encrypted content in the message and accurately
resolves encrypted and then signed elements in
signedRefs . |
Modifier and Type | Method and Description |
---|---|
Collection<WSDataRef> |
PolicyValidatorParameters.getEncrypted() |
Collection<WSDataRef> |
PolicyValidatorParameters.getSigned() |
Modifier and Type | Method and Description |
---|---|
void |
PolicyValidatorParameters.setEncrypted(Collection<WSDataRef> encrypted) |
void |
PolicyValidatorParameters.setSigned(Collection<WSDataRef> signed) |
Constructor and Description |
---|
WSSecurityEngineResult(int act,
byte[] decryptedKey,
byte[] encryptedKeyBytes,
List<WSDataRef> dataRefUris)
Deprecated.
|
WSSecurityEngineResult(int act,
byte[] decryptedKey,
byte[] encryptedKeyBytes,
List<WSDataRef> dataRefUris,
X509Certificate[] certs)
Deprecated.
|
WSSecurityEngineResult(int act,
List<WSDataRef> dataRefUris)
Deprecated.
|
WSSecurityEngineResult(int act,
Principal princ,
X509Certificate[] certs,
List<WSDataRef> dataRefs,
byte[] sv)
Deprecated.
|
Constructor and Description |
---|
WSSecurityEngineResult(int act,
byte[] decryptedKey,
byte[] encryptedKeyBytes,
List<WSDataRef> dataRefUris) |
WSSecurityEngineResult(int act,
byte[] decryptedKey,
byte[] encryptedKeyBytes,
List<WSDataRef> dataRefUris,
X509Certificate[] certs) |
WSSecurityEngineResult(int act,
List<WSDataRef> dataRefUris) |
WSSecurityEngineResult(int act,
Principal princ,
X509Certificate[] certs,
List<WSDataRef> dataRefs,
byte[] sv) |
Modifier and Type | Method and Description |
---|---|
static WSDataRef |
EncryptionUtils.decryptEncryptedData(Document doc,
String dataRefURI,
Element encData,
SecretKey symmetricKey,
String symEncAlgo,
CallbackHandler attachmentCallbackHandler)
Decrypt the EncryptedData argument using a SecretKey.
|
static WSDataRef |
EncryptionUtils.decryptEncryptedData(Document doc,
String dataRefURI,
Element encData,
SecretKey symmetricKey,
String symEncAlgo,
CallbackHandler attachmentCallbackHandler,
org.apache.xml.security.encryption.Serializer encryptionSerializer)
Decrypt the EncryptedData argument using a SecretKey.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.