BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.xml.security.specs
Class EncryptionSpec

java.lang.Object
  extended byweblogic.xml.security.specs.SpecBase
      extended byweblogic.xml.security.specs.OperationSpec
          extended byweblogic.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

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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
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,
                      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


EncryptionSpec

public EncryptionSpec(String encryptionMethod,
                      X509Certificate cert)
Deprecated. 
Creates a EncryptionSpec for encryption destined to the owner of the provided certificate


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

Method Detail

getDefaultSpec

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

Returns:

getEncryptionMethod

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

Returns:

getKeyWrappingMethod

public String getKeyWrappingMethod()
Deprecated. 

setKeyWrappingMethod

public void setKeyWrappingMethod(String keyWrappingAlg)
Deprecated. 

toString

public String toString()
Deprecated. 

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.