Class PrivateKeyFileDataType

  • All Implemented Interfaces:
    FileDataType<String>

    public class PrivateKeyFileDataType
    extends Object
    implements FileDataType<String>
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p20622_="https://jakarta.ee/xml/ns/jaxb" xmlns:p420076_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows the private key to be passed (as a PEM file), for decryption of an asymmetrically encrypted document.
                         The transfer of multiple private keys or other structures is not provided for at this point; exactly one private key is expected for decrypting the document.
                         The rights recipient must already be assigned to the document when the document is encrypted. The certificate and private key must therefore be selected in such a way that they map a rights recipient who was entered in this document when it was encrypted.
                     </p>
     

    Java class for PrivateKeyFileDataType complex type.

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

    
     <complexType name="PrivateKeyFileDataType">
       <simpleContent>
         <extension base="<http://www.w3.org/2001/XMLSchema>string">
           <attGroup ref="{http://schema.webpdf.de/1.0/operation}FileDataGroup"/>
           <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
         </extension>
       </simpleContent>
     </complexType>
     
    • Constructor Detail

      • PrivateKeyFileDataType

        public PrivateKeyFileDataType()
    • Method Detail

      • setValue

        public void setValue​(String value)
        Sets the value of the value property.
        Specified by:
        setValue in interface FileDataType<String>
        Parameters:
        value - allowed object is String
      • isSetValue

        public boolean isSetValue()
        Description copied from interface: FileDataType
        Returns true, if a direct byte value has been set.
        Specified by:
        isSetValue in interface FileDataType<String>
        Returns:
        true, if a direct byte value has been set.
      • getPassword

        public String getPassword()
        Gets the value of the password property.
        Returns:
        possible object is String
      • setPassword

        public void setPassword​(String value)
        Sets the value of the password property.
        Parameters:
        value - allowed object is String
      • isSetPassword

        public boolean isSetPassword()
      • isSetSource

        public boolean isSetSource()
        Description copied from interface: FileDataType
        Returns true, if a file data source has been set.
        Specified by:
        isSetSource in interface FileDataType<String>
        Returns:
        true, if a file data source has been set.
      • setUri

        public void setUri​(String value)
        Sets the value of the uri property.
        Specified by:
        setUri in interface FileDataType<String>
        Parameters:
        value - allowed object is String
      • isSetUri

        public boolean isSetUri()
        Description copied from interface: FileDataType
        Returns true, if a file source URI has been set.
        Specified by:
        isSetUri in interface FileDataType<String>
        Returns:
        true, if a file source URI has been set.