org.w3.xenc
Class CipherData

java.lang.Object
  extended by org.w3.xenc.CipherData
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class CipherData
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for CipherDataType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CipherDataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="CipherValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
         <element ref="{http://www.w3.org/2001/04/xmlenc#}CipherReference"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  CipherReference cipherReference
           
protected  byte[] cipherValue
           
 
Constructor Summary
CipherData()
          Default no-arg constructor
CipherData(CipherReference cipherReference, byte[] cipherValue)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 CipherReference getCipherReference()
          Gets the value of the cipherReference property.
 byte[] getCipherValue()
          Gets the value of the cipherValue property.
 void setCipherReference(CipherReference value)
          Sets the value of the cipherReference property.
 void setCipherValue(byte[] value)
          Sets the value of the cipherValue property.
 String toString()
           
 CipherData withCipherReference(CipherReference value)
           
 CipherData withCipherValue(byte[] value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cipherReference

protected CipherReference cipherReference

cipherValue

protected byte[] cipherValue
Constructor Detail

CipherData

public CipherData()
Default no-arg constructor


CipherData

public CipherData(CipherReference cipherReference,
                  byte[] cipherValue)
Fully-initialising value constructor

Method Detail

getCipherReference

public CipherReference getCipherReference()
Gets the value of the cipherReference property.

Returns:
possible object is CipherReference

setCipherReference

public void setCipherReference(CipherReference value)
Sets the value of the cipherReference property.

Parameters:
value - allowed object is CipherReference

getCipherValue

public byte[] getCipherValue()
Gets the value of the cipherValue property.

Returns:
possible object is byte[]

setCipherValue

public void setCipherValue(byte[] value)
Sets the value of the cipherValue property.

Parameters:
value - allowed object is byte[]

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withCipherReference

public CipherData withCipherReference(CipherReference value)

withCipherValue

public CipherData withCipherValue(byte[] value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.