org.w3.xenc
Class EncryptedKey

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

public class EncryptedKey
extends EncryptedType
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for EncryptedKeyType complex type.

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

 <complexType name="EncryptedKeyType">
   <complexContent>
     <extension base="{http://www.w3.org/2001/04/xmlenc#}EncryptedType">
       <sequence>
         <element ref="{http://www.w3.org/2001/04/xmlenc#}ReferenceList" minOccurs="0"/>
         <element name="CarriedKeyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="Recipient" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String carriedKeyName
           
protected  String recipient
           
protected  ReferenceList referenceList
           
 
Fields inherited from class org.w3.xenc.EncryptedType
cipherData, encoding, encryptionMethod, encryptionProperties, id, keyInfo, mimeType, type
 
Constructor Summary
EncryptedKey()
          Default no-arg constructor
EncryptedKey(EncryptionMethodType encryptionMethod, KeyInfo keyInfo, CipherData cipherData, EncryptionProperties encryptionProperties, String id, String type, String mimeType, String encoding, ReferenceList referenceList, String carriedKeyName, String recipient)
          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)
           
 String getCarriedKeyName()
          Gets the value of the carriedKeyName property.
 String getRecipient()
          Gets the value of the recipient property.
 ReferenceList getReferenceList()
          Gets the value of the referenceList property.
 void setCarriedKeyName(String value)
          Sets the value of the carriedKeyName property.
 void setRecipient(String value)
          Sets the value of the recipient property.
 void setReferenceList(ReferenceList value)
          Sets the value of the referenceList property.
 String toString()
           
 EncryptedKey withCarriedKeyName(String value)
           
 EncryptedKey withCipherData(CipherData value)
           
 EncryptedKey withEncoding(String value)
           
 EncryptedKey withEncryptionMethod(EncryptionMethodType value)
           
 EncryptedKey withEncryptionProperties(EncryptionProperties value)
           
 EncryptedKey withId(String value)
           
 EncryptedKey withKeyInfo(KeyInfo value)
           
 EncryptedKey withMimeType(String value)
           
 EncryptedKey withRecipient(String value)
           
 EncryptedKey withReferenceList(ReferenceList value)
           
 EncryptedKey withType(String value)
           
 
Methods inherited from class org.w3.xenc.EncryptedType
getCipherData, getEncoding, getEncryptionMethod, getEncryptionProperties, getId, getKeyInfo, getMimeType, getType, setCipherData, setEncoding, setEncryptionMethod, setEncryptionProperties, setId, setKeyInfo, setMimeType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

referenceList

protected ReferenceList referenceList

carriedKeyName

protected String carriedKeyName

recipient

protected String recipient
Constructor Detail

EncryptedKey

public EncryptedKey()
Default no-arg constructor


EncryptedKey

public EncryptedKey(EncryptionMethodType encryptionMethod,
                    KeyInfo keyInfo,
                    CipherData cipherData,
                    EncryptionProperties encryptionProperties,
                    String id,
                    String type,
                    String mimeType,
                    String encoding,
                    ReferenceList referenceList,
                    String carriedKeyName,
                    String recipient)
Fully-initialising value constructor

Method Detail

getReferenceList

public ReferenceList getReferenceList()
Gets the value of the referenceList property.

Returns:
possible object is ReferenceList

setReferenceList

public void setReferenceList(ReferenceList value)
Sets the value of the referenceList property.

Parameters:
value - allowed object is ReferenceList

getCarriedKeyName

public String getCarriedKeyName()
Gets the value of the carriedKeyName property.

Returns:
possible object is String

setCarriedKeyName

public void setCarriedKeyName(String value)
Sets the value of the carriedKeyName property.

Parameters:
value - allowed object is String

getRecipient

public String getRecipient()
Gets the value of the recipient property.

Returns:
possible object is String

setRecipient

public void setRecipient(String value)
Sets the value of the recipient property.

Parameters:
value - allowed object is String

toString

public String toString()
Overrides:
toString in class EncryptedType

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
Overrides:
append in class EncryptedType

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
Overrides:
appendFields in class EncryptedType

withReferenceList

public EncryptedKey withReferenceList(ReferenceList value)

withCarriedKeyName

public EncryptedKey withCarriedKeyName(String value)

withRecipient

public EncryptedKey withRecipient(String value)

withEncryptionMethod

public EncryptedKey withEncryptionMethod(EncryptionMethodType value)
Overrides:
withEncryptionMethod in class EncryptedType

withKeyInfo

public EncryptedKey withKeyInfo(KeyInfo value)
Overrides:
withKeyInfo in class EncryptedType

withCipherData

public EncryptedKey withCipherData(CipherData value)
Overrides:
withCipherData in class EncryptedType

withEncryptionProperties

public EncryptedKey withEncryptionProperties(EncryptionProperties value)
Overrides:
withEncryptionProperties in class EncryptedType

withId

public EncryptedKey withId(String value)
Overrides:
withId in class EncryptedType

withType

public EncryptedKey withType(String value)
Overrides:
withType in class EncryptedType

withMimeType

public EncryptedKey withMimeType(String value)
Overrides:
withMimeType in class EncryptedType

withEncoding

public EncryptedKey withEncoding(String value)
Overrides:
withEncoding in class EncryptedType


Copyright © 2014 Digipost Open Source. All Rights Reserved.