electric.soap.security.encryption.xml
Class XMLEncryptionProcessor
java.lang.Object
electric.soap.security.encryption.xml.XMLEncryptionProcessor
- All Implemented Interfaces:
- IEXMLLoggingConstants, IGLUELoggingConstants, ILoggingConstants, IXMLEncryptionConstants
- public class XMLEncryptionProcessor
- extends java.lang.Object
- implements IXMLEncryptionConstants, IGLUELoggingConstants
XMLEncryptionProcessor
- Author:
- webmethods
Fields inherited from interface electric.glue.IGLUELoggingConstants |
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT |
Fields inherited from interface electric.util.log.ILoggingConstants |
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLEncryptionProcessor
public XMLEncryptionProcessor()
addSymmetricEncryption
public static Element addSymmetricEncryption(Element rootElement,
java.lang.String xencPrefix,
XMLEncryption encryption)
throws java.lang.Exception
- Encrypt and replace part children of the given root element.
- Parameters:
rootElement
- encryption
-
- Throws:
java.lang.Exception
decryptAndReplace
public static boolean decryptAndReplace(Document document,
XMLEncryption encryptionResult,
IRealm realm,
java.lang.String dataReferenceURI)
- Parameters:
document
- encryptionResult
- realm
-
- Returns:
- true if the decryption succeeded, false otherwise.
dereferenceURI
public static Element dereferenceURI(Parent envelope,
java.lang.String URI)
- Parameters:
envelope
- URI
-
- Returns:
- the element pointed to by the uri.
enable
public static void enable()
isEnabled
public static final boolean isEnabled()
disable
public static void disable()
copyright© 2001-2004 by webMethods All Rights Reserved.