Class KeyPairType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.KeyPairType
-
public class KeyPairType extends Object
<?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 for decrypting an asymmetrically encrypted document to be handed over and the associated rights holder (recipient) to be selected by means of the certificate assigned to him. The document can only be decrypted if both are present and the private key and certificate both match and are intended for decrypting the document. When encrypting the document, it is possible to define multiple rights holders, but when decrypting the document as configured here, only a single one of these rights holders can be selected for which the decryption is to be performed. </p>Java class for KeyPairType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="KeyPairType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="privateKey" type="{http://schema.webpdf.de/1.0/operation}PrivateKeyFileDataType"/> <element name="certificate" type="{http://schema.webpdf.de/1.0/operation}CertificateFileDataType"/> </all> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CertificateFileDataTypecertificateprotected PrivateKeyFileDataTypeprivateKey
-
Constructor Summary
Constructors Constructor Description KeyPairType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateFileDataTypegetCertificate()Gets the value of the certificate property.PrivateKeyFileDataTypegetPrivateKey()Gets the value of the privateKey property.booleanisSetCertificate()booleanisSetPrivateKey()voidsetCertificate(CertificateFileDataType value)Sets the value of the certificate property.voidsetPrivateKey(PrivateKeyFileDataType value)Sets the value of the privateKey property.
-
-
-
Field Detail
-
privateKey
protected PrivateKeyFileDataType privateKey
-
certificate
protected CertificateFileDataType certificate
-
-
Method Detail
-
getPrivateKey
public PrivateKeyFileDataType getPrivateKey()
Gets the value of the privateKey property.- Returns:
- possible object is
PrivateKeyFileDataType
-
setPrivateKey
public void setPrivateKey(PrivateKeyFileDataType value)
Sets the value of the privateKey property.- Parameters:
value- allowed object isPrivateKeyFileDataType
-
isSetPrivateKey
public boolean isSetPrivateKey()
-
getCertificate
public CertificateFileDataType getCertificate()
Gets the value of the certificate property.- Returns:
- possible object is
CertificateFileDataType
-
setCertificate
public void setCertificate(CertificateFileDataType value)
Sets the value of the certificate property.- Parameters:
value- allowed object isCertificateFileDataType
-
isSetCertificate
public boolean isSetCertificate()
-
-