Class PrivateKeyFileDataType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.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 Summary
Constructors Constructor Description PrivateKeyFileDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPassword()Gets the value of the password property.FileDataSourceTypegetSource()Gets the value of the source property.StringgetUri()Gets the value of the uri property.StringgetValue()Gets the value of the value property.booleanisSetPassword()booleanisSetSource()Returnstrue, if a file data source has been set.booleanisSetUri()Returnstrue, if a file source URI has been set.booleanisSetValue()Returnstrue, if a direct byte value has been set.voidsetPassword(String value)Sets the value of the password property.voidsetSource(FileDataSourceType value)Sets the value of the source property.voidsetUri(String value)Sets the value of the uri property.voidsetValue(String value)Sets the value of the value property.
-
-
-
Field Detail
-
value
protected String value
-
password
protected String password
-
source
protected FileDataSourceType source
-
uri
protected String uri
-
-
Method Detail
-
getValue
public String getValue()
Gets the value of the value property.- Specified by:
getValuein interfaceFileDataType<String>- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Specified by:
setValuein interfaceFileDataType<String>- Parameters:
value- allowed object isString
-
isSetValue
public boolean isSetValue()
Description copied from interface:FileDataTypeReturnstrue, if a direct byte value has been set.- Specified by:
isSetValuein interfaceFileDataType<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 isString
-
isSetPassword
public boolean isSetPassword()
-
getSource
public FileDataSourceType getSource()
Gets the value of the source property.- Specified by:
getSourcein interfaceFileDataType<String>- Returns:
- possible object is
FileDataSourceType
-
setSource
public void setSource(FileDataSourceType value)
Sets the value of the source property.- Specified by:
setSourcein interfaceFileDataType<String>- Parameters:
value- allowed object isFileDataSourceType
-
isSetSource
public boolean isSetSource()
Description copied from interface:FileDataTypeReturnstrue, if a file data source has been set.- Specified by:
isSetSourcein interfaceFileDataType<String>- Returns:
true, if a file data source has been set.
-
getUri
public String getUri()
Gets the value of the uri property.- Specified by:
getUriin interfaceFileDataType<String>- Returns:
- possible object is
String
-
setUri
public void setUri(String value)
Sets the value of the uri property.- Specified by:
setUriin interfaceFileDataType<String>- Parameters:
value- allowed object isString
-
isSetUri
public boolean isSetUri()
Description copied from interface:FileDataTypeReturnstrue, if a file source URI has been set.- Specified by:
isSetUriin interfaceFileDataType<String>- Returns:
true, if a file source URI has been set.
-
-