Class KeyInfo
java.lang.Object
com.sun.xml.security.core.dsig.KeyInfoType
com.sun.xml.ws.security.opt.crypto.dsig.keyinfo.KeyInfo
- All Implemented Interfaces:
KeyInfo,XMLStructure
- Author:
- Abhijit Das
-
Field Summary
Fields inherited from class com.sun.xml.security.core.dsig.KeyInfoType
content, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the content property.booleanisFeatureSupported(String string) voidmarshal(XMLStructure xMLStructure, XMLCryptoContext xMLCryptoContext) voidsetContent(List<XMLStructure> content) Methods inherited from class com.sun.xml.security.core.dsig.KeyInfoType
getId, setId
-
Constructor Details
-
KeyInfo
public KeyInfo()Creates a new instance of KeyInfo
-
-
Method Details
-
marshal
public void marshal(XMLStructure xMLStructure, XMLCryptoContext xMLCryptoContext) throws MarshalException - Specified by:
marshalin interfaceKeyInfo- Throws:
MarshalException
-
isFeatureSupported
- Specified by:
isFeatureSupportedin interfaceXMLStructure
-
setContent
-
getContent
Description copied from class:KeyInfoTypeGets 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
setmethod 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
ObjectJAXBElement<String>JAXBElement<PGPDataType>JAXBElement<RetrievalMethodType>JAXBElement<X509DataType>StringJAXBElement<KeyValueType>JAXBElement<SPKIDataType>JAXBElement<String>- Specified by:
getContentin interfaceKeyInfo- Overrides:
getContentin classKeyInfoType
-