com.sun.xml.security.core.xenc
Class EncryptionMethodType

java.lang.Object
  extended by com.sun.xml.security.core.xenc.EncryptionMethodType

public class EncryptionMethodType
extends Object

Java class for EncryptionMethodType complex type.

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

 <complexType name="EncryptionMethodType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="KeySize" type="{http://www.w3.org/2001/04/xmlenc#}KeySizeType" minOccurs="0"/>
         <element name="OAEPparams" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
         <any/>
       </sequence>
       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String algorithm
           
protected  List<Object> content
           
 
Constructor Summary
EncryptionMethodType()
           
 
Method Summary
 String getAlgorithm()
          Gets the value of the algorithm property.
 List<Object> getContent()
          Gets the value of the content property.
 void setAlgorithm(String value)
          Sets the value of the algorithm property.
 void setContent(List<Object> content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<Object> content

algorithm

protected String algorithm
Constructor Detail

EncryptionMethodType

public EncryptionMethodType()
Method Detail

getContent

public List<Object> getContent()
Gets the value of the content property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the content property.

For example, to add a new item, do as follows:

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<byte[]> Object JAXBElement<BigInteger > String


setContent

public void setContent(List<Object> content)

getAlgorithm

public String getAlgorithm()
Gets the value of the algorithm property.

Returns:
possible object is String

setAlgorithm

public void setAlgorithm(String value)
Sets the value of the algorithm property.

Parameters:
value - allowed object is String


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