public class KeyInfo extends KeyInfoType implements KeyInfo
content, id| Constructor and Description |
|---|
KeyInfo()
Creates a new instance of KeyInfo
|
| Modifier and Type | Method and Description |
|---|---|
List<XMLStructure> |
getContent()
Gets the value of the content property.
|
boolean |
isFeatureSupported(String string) |
void |
marshal(XMLStructure xMLStructure,
XMLCryptoContext xMLCryptoContext) |
void |
setContent(List<XMLStructure> content) |
getId, setIdpublic void marshal(XMLStructure xMLStructure, XMLCryptoContext xMLCryptoContext) throws MarshalException
marshal in interface KeyInfoMarshalExceptionpublic boolean isFeatureSupported(String string)
isFeatureSupported in interface XMLStructurepublic void setContent(List<XMLStructure> content)
public List<XMLStructure> getContent()
KeyInfoType
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
Object
JAXBElement<String>
JAXBElement<PGPDataType>
JAXBElement<RetrievalMethodType>
JAXBElement<X509DataType>
String
JAXBElement<KeyValueType>
JAXBElement<SPKIDataType>
JAXBElement<String>
getContent in interface KeyInfogetContent in class KeyInfoTypeCopyright © 2005–2018 Oracle Corporation. All rights reserved.