BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.xml.security.specs
Class EncryptionSpec

java.lang.Object
  |
  +--weblogic.xml.security.specs.SpecBase
        |
        +--weblogic.xml.security.specs.OperationSpec
              |
              +--weblogic.xml.security.specs.EncryptionSpec

public class EncryptionSpec
extends OperationSpec

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

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.xml.security.specs.OperationSpec
bodyList, headerList, unrestrictedList
 
Constructor Summary
EncryptionSpec(java.lang.String encryptionMethod, java.lang.String wrappingAlgorithm, java.security.cert.X509Certificate cert, boolean encryptBody)
          Creates a EncryptionSpec for encryption destined to the owner of the provided certificate.
EncryptionSpec(java.lang.String encryptionMethod, java.security.cert.X509Certificate cert)
          Creates a EncryptionSpec for encryption destined to the owner of the provided certificate
EncryptionSpec(java.lang.String encryptionMethod, java.security.cert.X509Certificate cert, boolean encryptBody)
          Creates a EncryptionSpec for encryption destined to the owner of the provided certificate.
 
Method Summary
static EncryptionSpec getDefaultSpec()
          Returns the default EncryptionSpec.
 java.lang.String getEncryptionMethod()
          Returns the URI for the encryption method to be used for the EncryptedKey.
 java.lang.String getKeyWrappingMethod()
           
 void setKeyWrappingMethod(java.lang.String keyWrappingAlg)
           
 java.lang.String toString()
           
 
Methods inherited from class weblogic.xml.security.specs.OperationSpec
addElement, addElement, entireBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncryptionSpec

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

Parameters:
encryptionMethod -  
cert -  

EncryptionSpec

public EncryptionSpec(java.lang.String encryptionMethod,
                      java.security.cert.X509Certificate cert,
                      boolean encryptBody)
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(java.lang.String encryptionMethod,
                      java.lang.String wrappingAlgorithm,
                      java.security.cert.X509Certificate cert,
                      boolean encryptBody)
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 java.lang.String getEncryptionMethod()
Returns the URI for the encryption method to be used for the EncryptedKey.

Returns:
 

getDefaultSpec

public static EncryptionSpec getDefaultSpec()
Returns the default EncryptionSpec.

Returns:
 

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getKeyWrappingMethod

public java.lang.String getKeyWrappingMethod()

setKeyWrappingMethod

public void setKeyWrappingMethod(java.lang.String keyWrappingAlg)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81