Class KeyDescriptorType
java.lang.Object
org.keycloak.dom.saml.v2.metadata.KeyDescriptorType
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
FieldsModifier and TypeFieldDescriptionprotected List<EncryptionMethodType>protected Elementprotected KeyTypes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd encryption method typeGets the value of the encryptionMethod property.Gets the value of the keyInfo property.getUse()Gets the value of the use property.voidRemove encryption method typevoidsetKeyInfo(Element value) Sets the value of the keyInfo property.voidSets the value of the use property.
-
Field Details
-
keyInfo
-
encryptionMethod
-
use
-
-
Constructor Details
-
KeyDescriptorType
public KeyDescriptorType()
-
-
Method Details
-
getKeyInfo
Gets the value of the keyInfo property.- Returns:
- possible object is
KeyInfoType
-
setKeyInfo
Sets the value of the keyInfo property.- Parameters:
value- allowed object isKeyInfoType
-
addEncryptionMethod
Add encryption method type- Parameters:
e-
-
removeEncryptionMethod
Remove encryption method type- Parameters:
e-
-
getEncryptionMethod
Gets the value of the encryptionMethod property.Objects of the following type(s) are allowed in the list
EncryptionMethodType -
getUse
Gets the value of the use property.- Returns:
- possible object is
KeyTypes
-
setUse
Sets the value of the use property.- Parameters:
value- allowed object isKeyTypes
-