com.sun.xml.wss.core
Class EncryptedDataImpl

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by com.sun.xml.wss.core.EncryptedDataImpl
All Implemented Interfaces:
Closeable, Flushable

public class EncryptedDataImpl
extends ByteArrayOutputStream

Simple EncryptedData for Sign and Encrypt Usecase.

Author:
K.Venugopal@sun.com

Field Summary
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
EncryptedDataImpl()
           
 
Method Summary
 String getEncAlgo()
           
 String getEncoding()
           
 byte[] getEncryptedData()
           
 String getId()
           
 byte[] getIv()
           
 KeyInfoHeaderBlock getKeyInfo()
           
 String getMimeType()
           
 String getType()
           
 void setEncAlgo(String encAlgo)
           
 void setEncoding(String encoding)
           
 void setEncryptedData(byte[] encryptedData)
           
 void setId(String id)
           
 void setIv(byte[] iv)
           
 void setKeyInfo(KeyInfoHeaderBlock keyInfo)
           
 void setMimeType(String mimeType)
           
 void setType(String type)
           
 
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncryptedDataImpl

public EncryptedDataImpl()
Method Detail

getIv

public byte[] getIv()

setIv

public void setIv(byte[] iv)

getEncryptedData

public byte[] getEncryptedData()

setEncryptedData

public void setEncryptedData(byte[] encryptedData)

getKeyInfo

public KeyInfoHeaderBlock getKeyInfo()

setKeyInfo

public void setKeyInfo(KeyInfoHeaderBlock keyInfo)

getId

public String getId()

setId

public void setId(String id)

getMimeType

public String getMimeType()

setMimeType

public void setMimeType(String mimeType)

getEncoding

public String getEncoding()

setEncoding

public void setEncoding(String encoding)

getType

public String getType()

setType

public void setType(String type)

getEncAlgo

public String getEncAlgo()

setEncAlgo

public void setEncAlgo(String encAlgo)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.