Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.xml.security.encryption
Class CipherData

java.lang.Object
  extended by weblogic.xml.security.encryption.CipherData

All Implemented Interfaces:
XMLEncConstants

public abstract class CipherData
extends Object
implements XMLEncConstants

Represents the element that provides the encrypted data. There are 2 subclasses: CipherValue and CipherRefernce.


Field Summary

 

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

 

Method Summary
abstract  void clear()
          Clears the contents of the CipherData
abstract  byte[] getCipherBytes()
           
abstract  InputStream getInputStream()
           
abstract  OutputStream getOutputStream()
           
abstract  void setCipherBytes(byte[] bytes)
           
abstract  void toXML(XMLOutputStream out, String ns, int indent)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getInputStream

public abstract InputStream getInputStream()
Returns:
A stream containing ciphertext.

getCipherBytes

public abstract byte[] getCipherBytes()
Returns:
The ciphertext as a byte[]

getOutputStream

public abstract OutputStream getOutputStream()
Returns:
A stream that ciphertext can be written to.

clear

public abstract void clear()
Clears the contents of the CipherData

setCipherBytes

public abstract void setCipherBytes(byte[] bytes)
Parameters:
bytes - An array of bytes representing the ciphertext.

toXML

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

Skip navigation links

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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09