Package net.webpdf.wsclient.openapi
Class OperationCertificateFileData
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationCertificateFileData
-
public class OperationCertificateFileData extends Object
Allows the transfer of a certificate (as a PEM file), for the en-/decryption of an asymmetrically encrypted document. The certificate identifies the rights recipient who is to be given access to the document. The transfer of multiple certificates or other structures is not intended at this point; exactly one certificate is expected for the decryption of 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationCertificateFileData.SourceEnumSelects the data source for the hereby expressed resource.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_SOURCEstatic StringJSON_PROPERTY_URIstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description OperationCertificateFileData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable OperationCertificateFileData.SourceEnumgetSource()Selects the data source for the hereby expressed resource.@Nullable StringgetUri()The uri the data shall be located at.@Nullable StringgetValue()Get valueinthashCode()voidsetSource(OperationCertificateFileData.SourceEnum source)voidsetUri(String uri)voidsetValue(String value)OperationCertificateFileDatasource(OperationCertificateFileData.SourceEnum source)StringtoString()OperationCertificateFileDatauri(String uri)OperationCertificateFileDatavalue(String value)
-
-
-
Field Detail
-
JSON_PROPERTY_SOURCE
public static final String JSON_PROPERTY_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
source
public OperationCertificateFileData source(OperationCertificateFileData.SourceEnum source)
-
getSource
@Nullable public @Nullable OperationCertificateFileData.SourceEnum getSource()
Selects the data source for the hereby expressed resource. Possible values are: * value = The element's value shall contain the BASE64 encoded data. * uri = The data shall be located at the given uri.- Returns:
- source
-
setSource
public void setSource(OperationCertificateFileData.SourceEnum source)
-
uri
public OperationCertificateFileData uri(String uri)
-
getUri
@Nullable public @Nullable String getUri()
The uri the data shall be located at. (This shall only have effect, if the \"source\" is \"uri\".)- Returns:
- uri
-
setUri
public void setUri(String uri)
-
value
public OperationCertificateFileData value(String value)
-
getValue
@Nullable public @Nullable String getValue()
Get value- Returns:
- value
-
setValue
public void setValue(String value)
-
-