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
public class KeyInfo extends KeyInfoType implements KeyInfo
- Author:
- Abhijit Das
-
-
Field Summary
-
Fields inherited from class com.sun.xml.security.core.dsig.KeyInfoType
content, id
-
-
Constructor Summary
Constructors Constructor Description KeyInfo()Creates a new instance of KeyInfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<XMLStructure>getContent()Gets 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
-
-
-
-
Method Detail
-
marshal
public void marshal(XMLStructure xMLStructure, XMLCryptoContext xMLCryptoContext) throws MarshalException
- Specified by:
marshalin interfaceKeyInfo- Throws:
MarshalException
-
isFeatureSupported
public boolean isFeatureSupported(String string)
- Specified by:
isFeatureSupportedin interfaceXMLStructure
-
setContent
public void setContent(List<XMLStructure> content)
-
getContent
public List<XMLStructure> 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
-
-