org.jboss.identity.federation.saml.v2.metadata
Class KeyDescriptorType

java.lang.Object
  extended by org.jboss.identity.federation.saml.v2.metadata.KeyDescriptorType

public class KeyDescriptorType
extends java.lang.Object

Java class for KeyDescriptorType complex type.

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

 <complexType name="KeyDescriptorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:metadata}EncryptionMethod" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="use" type="{urn:oasis:names:tc:SAML:2.0:metadata}KeyTypes" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<EncryptionMethodType> encryptionMethod
           
protected  KeyInfoType keyInfo
           
protected  KeyTypes use
           
 
Constructor Summary
KeyDescriptorType()
           
 
Method Summary
 java.util.List<EncryptionMethodType> getEncryptionMethod()
          Gets the value of the encryptionMethod property.
 KeyInfoType getKeyInfo()
          Gets the value of the keyInfo property.
 KeyTypes getUse()
          Gets the value of the use property.
 void setKeyInfo(KeyInfoType value)
          Sets the value of the keyInfo property.
 void setUse(KeyTypes value)
          Sets the value of the use property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyInfo

protected KeyInfoType keyInfo

encryptionMethod

protected java.util.List<EncryptionMethodType> encryptionMethod

use

protected KeyTypes use
Constructor Detail

KeyDescriptorType

public KeyDescriptorType()
Method Detail

getKeyInfo

public KeyInfoType getKeyInfo()
Gets the value of the keyInfo property.

Returns:
possible object is KeyInfoType

setKeyInfo

public void setKeyInfo(KeyInfoType value)
Sets the value of the keyInfo property.

Parameters:
value - allowed object is KeyInfoType

getEncryptionMethod

public java.util.List<EncryptionMethodType> getEncryptionMethod()
Gets the value of the encryptionMethod 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 encryptionMethod property.

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

    getEncryptionMethod().add(newItem);
 

Objects of the following type(s) are allowed in the list EncryptionMethodType


getUse

public KeyTypes getUse()
Gets the value of the use property.

Returns:
possible object is KeyTypes

setUse

public void setUse(KeyTypes value)
Sets the value of the use property.

Parameters:
value - allowed object is KeyTypes


Copyright © 2009 JBoss Inc.. All Rights Reserved.