Class XmlPki

java.lang.Object
eu.europa.esig.dss.pki.jaxb.XmlPki
All Implemented Interfaces:
Serializable

public class XmlPki extends Object implements Serializable
The root element of the PKI factory

Java class for pki complex type.

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

 <complexType name="pki">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="certificate" type="{http://pki-factory.nowina.lu/pki-factory}CertificateType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="organization" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="country" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • XmlPki

      public XmlPki()
  • Method Details

    • getCertificate

      public List<XmlCertificateType> getCertificate()
      Gets the value of the certificate 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 Jakarta XML Binding object. This is why there is not a set method for the certificate property.

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

          getCertificate().add(newItem);
       

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

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getOrganization

      public String getOrganization()
      Gets the value of the organization property.
      Returns:
      possible object is String
    • setOrganization

      public void setOrganization(String value)
      Sets the value of the organization property.
      Parameters:
      value - allowed object is String
    • getCountry

      public String getCountry()
      Gets the value of the country property.
      Returns:
      possible object is String
    • setCountry

      public void setCountry(String value)
      Sets the value of the country property.
      Parameters:
      value - allowed object is String