Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.xml.security.encryption
Class EncryptionMethod

java.lang.Object
  extended by weblogic.xml.security.encryption.EncryptionMethod
All Implemented Interfaces:
XMLEncConstants

public abstract class EncryptionMethod
extends Object
implements XMLEncConstants


Field Summary
static String AES128_CBC
           
static String AES192_CBC
           
static String AES256_CBC
           
static String KW_AES128
           
static String KW_AES192
           
static String KW_AES256
           
static String KW_RSA_1_5
           
static String KW_RSA_OAEP
           
static String KW_TRIPLEDES
           
static String TRIPLEDES_CBC
           
 
Fields inherited from interface weblogic.xml.security.encryption.XMLEncConstants
ATTR_ALGORITHM, ATTR_ENCODING, ATTR_ID, ATTR_MIME_TYPE, ATTR_RECIPIENT, ATTR_TYPE, ATTR_URI, CONTENT_ONLY, CONTENT_ONLY_PROPERTY, DEFAULT_ENC_ENCODING, TAG_CARRIED_KEY_NAME, TAG_CIPHER_DATA, TAG_CIPHER_VALUE, TAG_DATA_REFERENCE, TAG_ENCRYPTED_DATA, TAG_ENCRYPTED_KEY, TAG_ENCRYPTED_TYPE, TAG_ENCRYPTION_METHOD, TAG_KEY_REFERENCE, TAG_KEY_SIZE, TAG_OAEP_PARAMS, TAG_REFERENCE_LIST, TC_ENCRYPTED_DATA, TC_ENCRYPTED_KEY, TC_ENCRYPTION_METHOD, TC_REFERENCE_LIST, VERBOSE, VERBOSE_PROPERTY, VERBOSE_PROPERTY_ALT, XMLENC_PREFIX, XMLENC_URI
 
Constructor Summary
EncryptionMethod()
           
 
Method Summary
protected  void fromXMLInternal(XMLInputStream in, String ns)
          Subclasses can override to deserialize algorithm specific parameters.
static EncryptionMethod get(String algorithmURI)
           
abstract  String getURI()
           
static void main(String[] args)
           
static void register(EncryptionMethodFactory factory)
           
 String toString()
           
 void toXML(XMLOutputStream out, String ns, int indent)
           
protected  void toXMLInternal(XMLOutputStream out, String ns, int indent)
          Allow subclasses to add elements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRIPLEDES_CBC

public static final String TRIPLEDES_CBC
See Also:
Constant Field Values

AES128_CBC

public static final String AES128_CBC
See Also:
Constant Field Values

AES192_CBC

public static final String AES192_CBC
See Also:
Constant Field Values

AES256_CBC

public static final String AES256_CBC
See Also:
Constant Field Values

KW_TRIPLEDES

public static final String KW_TRIPLEDES
See Also:
Constant Field Values

KW_AES128

public static final String KW_AES128
See Also:
Constant Field Values

KW_AES192

public static final String KW_AES192
See Also:
Constant Field Values

KW_AES256

public static final String KW_AES256
See Also:
Constant Field Values

KW_RSA_1_5

public static final String KW_RSA_1_5
See Also:
Constant Field Values

KW_RSA_OAEP

public static final String KW_RSA_OAEP
See Also:
Constant Field Values
Constructor Detail

EncryptionMethod

public EncryptionMethod()
Method Detail

getURI

public abstract String getURI()

toString

public String toString()
Overrides:
toString in class Object

register

public static void register(EncryptionMethodFactory factory)

get

public static EncryptionMethod get(String algorithmURI)
                            throws EncryptionException
Throws:
EncryptionException

toXML

public void toXML(XMLOutputStream out,
                  String ns,
                  int indent)
           throws XMLStreamException
Throws:
XMLStreamException

toXMLInternal

protected void toXMLInternal(XMLOutputStream out,
                             String ns,
                             int indent)
                      throws XMLStreamException
Allow subclasses to add elements

Throws:
XMLStreamException

fromXMLInternal

protected void fromXMLInternal(XMLInputStream in,
                               String ns)
                        throws XMLStreamException
Subclasses can override to deserialize algorithm specific parameters.

Throws:
XMLStreamException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

Copyright 1996, 2014, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02