Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-07

weblogic.xml.security.specs
Class EncryptionSpec

java.lang.Object
  extended by weblogic.xml.security.specs.SpecBase
      extended by weblogic.xml.security.specs.OperationSpec
          extended by weblogic.xml.security.specs.EncryptionSpec
All Implemented Interfaces:
SpecConstants

Deprecated. please use new WS Security API

public class EncryptionSpec
extends OperationSpec

EncryptionSpec.java Created: Wed Aug 14 20:35:30 2002


Field Summary
 
Fields inherited from class weblogic.xml.security.specs.OperationSpec
bodyList, headerList, unrestrictedList
 
Fields inherited from interface weblogic.xml.security.specs.SpecConstants
ATTR_CANONICALIZATION_METHOD, ATTR_ENCODING, ATTR_ENCRYPT_BODY, ATTR_ENCRYPTION_METHOD, ATTR_ID, ATTR_KEY_ALIAS, ATTR_KEY_PASSWORD, ATTR_KEYWRAPPING_METHOD, ATTR_LOCALPART, ATTR_NAMESPACE, ATTR_PASSWORDTYPE, ATTR_REALM, ATTR_REF_ID, ATTR_RESTRICTION, ATTR_SIGN_BODY, ATTR_SIGNATURE_METHOD, ATTR_VALUETYPE, DEFAULT_PREFIX, RESTRICTION_BODY, RESTRICTION_HEADER, SOAP_ATTR_ROLE, SOAP_ENV_PREFIX, SPEC_URI, TAG_BINARY_SECURITY_TOKEN_SPEC, TAG_CLOCK_PRECISION, TAG_CLOCKS_SYNCHRONIZED, TAG_DD_SECURITY, TAG_ENCRYPTION_KEY, TAG_ENCRYPTION_SPEC, TAG_ENFORCE_PRECISION, TAG_ENTITY_NAME, TAG_ENTITY_PASSWORD, TAG_FRESHNESS, TAG_GENERATE_TS, TAG_REQUIRE_TS, TAG_SECURITY_SPEC, TAG_SECURITY_SPEC_REF, TAG_SIGNATURE_KEY, TAG_SIGNATURE_SPEC, TAG_TS_CONFIG, TAG_TYPE_IDENTIFIER, TAG_USER, TAG_USERNAME_TOKEN_SPEC, TAG_VALIDITY, XSD_FALSE, XSD_TRUE
 
Constructor Summary
EncryptionSpec(String encryptionMethod, String wrappingAlgorithm, X509Certificate cert, boolean encryptBody)
          Deprecated. Creates a EncryptionSpec for encryption destined to the owner of the provided certificate.
EncryptionSpec(String encryptionMethod, X509Certificate cert)
          Deprecated. Creates a EncryptionSpec for encryption destined to the owner of the provided certificate.
EncryptionSpec(String encryptionMethod, X509Certificate cert, boolean encryptBody)
          Deprecated. Creates a EncryptionSpec for encryption destined to the owner of the provided certificate.
 
Method Summary
static EncryptionSpec getDefaultSpec()
          Deprecated. Returns the default EncryptionSpec.
 String getEncryptionMethod()
          Deprecated. Returns the URI for the encryption method to be used for the EncryptedKey.
 String getKeyWrappingMethod()
          Deprecated.  
 void setKeyWrappingMethod(String keyWrappingAlg)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class weblogic.xml.security.specs.OperationSpec
addElement, addElement, entireBody
 
Methods inherited from class weblogic.xml.security.specs.SpecBase
fromXMLInternal, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncryptionSpec

public EncryptionSpec(String encryptionMethod,
                      X509Certificate cert)
Deprecated. 
Creates a EncryptionSpec for encryption destined to the owner of the provided certificate. The encryption is not applied to the SOAP Body by default. Use another two constructors to turn on encryptBody flag.

Parameters:
encryptionMethod -
cert -

EncryptionSpec

public EncryptionSpec(String encryptionMethod,
                      X509Certificate cert,
                      boolean encryptBody)
Deprecated. 
Creates a EncryptionSpec for encryption destined to the owner of the provided certificate. The encryptBody parameter inidicates whether the encryption should be applied to the SOAP Body

Parameters:
encryptionMethod - the URI of the algorithm to be used for the EncryptedKey
cert -
encryptBody -

EncryptionSpec

public EncryptionSpec(String encryptionMethod,
                      String wrappingAlgorithm,
                      X509Certificate cert,
                      boolean encryptBody)
Deprecated. 
Creates a EncryptionSpec for encryption destined to the owner of the provided certificate. The encryptBody parameter inidicates whether the encryption should be applied to the SOAP Body

Parameters:
encryptionMethod - the URI of the algorithm to be used for the EncryptedKey
cert -
encryptBody -
Method Detail

getEncryptionMethod

public String getEncryptionMethod()
Deprecated. 
Returns the URI for the encryption method to be used for the EncryptedKey.


getDefaultSpec

public static EncryptionSpec getDefaultSpec()
Deprecated. 
Returns the default EncryptionSpec.


toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

getKeyWrappingMethod

public String getKeyWrappingMethod()
Deprecated. 

setKeyWrappingMethod

public void setKeyWrappingMethod(String keyWrappingAlg)
Deprecated. 

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-07