Package net.webpdf.wsclient.openapi
Class OperationSignatureIdentifier
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationSignatureIdentifier
-
public class OperationSignatureIdentifier extends Object
Used to define the elements that are part of the visual signature.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_SHOW_COMMON_NAMEstatic StringJSON_PROPERTY_SHOW_COUNTRYstatic StringJSON_PROPERTY_SHOW_DATEstatic StringJSON_PROPERTY_SHOW_LOCALstatic StringJSON_PROPERTY_SHOW_MAILstatic StringJSON_PROPERTY_SHOW_NAMEstatic StringJSON_PROPERTY_SHOW_ORGANISATION_NAMEstatic StringJSON_PROPERTY_SHOW_ORGANISATION_UNITstatic StringJSON_PROPERTY_SHOW_SIGNED_BYstatic StringJSON_PROPERTY_SHOW_STATEstatic StringJSON_PROPERTY_TEXT_SIGNED_BY
-
Constructor Summary
Constructors Constructor Description OperationSignatureIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable BooleangetShowCommonName()Displays or hides the common name (CN) part of the certificate.@Nullable BooleangetShowCountry()Displays or hides the (ISO valid) country code (C) of the country in which the certificate holder is located.@Nullable BooleangetShowDate()Displays or hides the signature time.@Nullable BooleangetShowLocal()Displays or hides the location/city (L) where the certificate holder is located.@Nullable BooleangetShowMail()Displays or hides the email address (E) at which the certificate holder can be contacted.@Nullable BooleangetShowName()Displays or hides the signature `name`.@Nullable BooleangetShowOrganisationName()Displays or hides the certificate holder's organization/company (O).@Nullable BooleangetShowOrganisationUnit()Displays or hides the certificate owner's suborganization/department (OU).@Nullable BooleangetShowSignedBy()Displays or hides the text `Digitally signed by`.@Nullable BooleangetShowState()Displays or hides the state (S) in which the certificate holder is located.@Nullable StringgetTextSignedBy()Text that is displayed when the `showSignedBy` option is enabled.inthashCode()voidsetShowCommonName(Boolean showCommonName)voidsetShowCountry(Boolean showCountry)voidsetShowDate(Boolean showDate)voidsetShowLocal(Boolean showLocal)voidsetShowMail(Boolean showMail)voidsetShowName(Boolean showName)voidsetShowOrganisationName(Boolean showOrganisationName)voidsetShowOrganisationUnit(Boolean showOrganisationUnit)voidsetShowSignedBy(Boolean showSignedBy)voidsetShowState(Boolean showState)voidsetTextSignedBy(String textSignedBy)OperationSignatureIdentifiershowCommonName(Boolean showCommonName)OperationSignatureIdentifiershowCountry(Boolean showCountry)OperationSignatureIdentifiershowDate(Boolean showDate)OperationSignatureIdentifiershowLocal(Boolean showLocal)OperationSignatureIdentifiershowMail(Boolean showMail)OperationSignatureIdentifiershowName(Boolean showName)OperationSignatureIdentifiershowOrganisationName(Boolean showOrganisationName)OperationSignatureIdentifiershowOrganisationUnit(Boolean showOrganisationUnit)OperationSignatureIdentifiershowSignedBy(Boolean showSignedBy)OperationSignatureIdentifiershowState(Boolean showState)OperationSignatureIdentifiertextSignedBy(String textSignedBy)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SHOW_COMMON_NAME
public static final String JSON_PROPERTY_SHOW_COMMON_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_COUNTRY
public static final String JSON_PROPERTY_SHOW_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_DATE
public static final String JSON_PROPERTY_SHOW_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_LOCAL
public static final String JSON_PROPERTY_SHOW_LOCAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_MAIL
public static final String JSON_PROPERTY_SHOW_MAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_NAME
public static final String JSON_PROPERTY_SHOW_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_ORGANISATION_NAME
public static final String JSON_PROPERTY_SHOW_ORGANISATION_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_ORGANISATION_UNIT
public static final String JSON_PROPERTY_SHOW_ORGANISATION_UNIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_SIGNED_BY
public static final String JSON_PROPERTY_SHOW_SIGNED_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_STATE
public static final String JSON_PROPERTY_SHOW_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEXT_SIGNED_BY
public static final String JSON_PROPERTY_TEXT_SIGNED_BY
- See Also:
- Constant Field Values
-
-
Method Detail
-
showCommonName
public OperationSignatureIdentifier showCommonName(Boolean showCommonName)
-
getShowCommonName
@Nullable public @Nullable Boolean getShowCommonName()
Displays or hides the common name (CN) part of the certificate.- Returns:
- showCommonName
-
setShowCommonName
public void setShowCommonName(Boolean showCommonName)
-
showCountry
public OperationSignatureIdentifier showCountry(Boolean showCountry)
-
getShowCountry
@Nullable public @Nullable Boolean getShowCountry()
Displays or hides the (ISO valid) country code (C) of the country in which the certificate holder is located.- Returns:
- showCountry
-
setShowCountry
public void setShowCountry(Boolean showCountry)
-
showDate
public OperationSignatureIdentifier showDate(Boolean showDate)
-
getShowDate
@Nullable public @Nullable Boolean getShowDate()
Displays or hides the signature time.- Returns:
- showDate
-
setShowDate
public void setShowDate(Boolean showDate)
-
showLocal
public OperationSignatureIdentifier showLocal(Boolean showLocal)
-
getShowLocal
@Nullable public @Nullable Boolean getShowLocal()
Displays or hides the location/city (L) where the certificate holder is located.- Returns:
- showLocal
-
setShowLocal
public void setShowLocal(Boolean showLocal)
-
showMail
public OperationSignatureIdentifier showMail(Boolean showMail)
-
getShowMail
@Nullable public @Nullable Boolean getShowMail()
Displays or hides the email address (E) at which the certificate holder can be contacted.- Returns:
- showMail
-
setShowMail
public void setShowMail(Boolean showMail)
-
showName
public OperationSignatureIdentifier showName(Boolean showName)
-
getShowName
@Nullable public @Nullable Boolean getShowName()
Displays or hides the signature `name`. (If `name` has not been set, the common name (CN) part of the certificate is displayed instead.)- Returns:
- showName
-
setShowName
public void setShowName(Boolean showName)
-
showOrganisationName
public OperationSignatureIdentifier showOrganisationName(Boolean showOrganisationName)
-
getShowOrganisationName
@Nullable public @Nullable Boolean getShowOrganisationName()
Displays or hides the certificate holder's organization/company (O).- Returns:
- showOrganisationName
-
setShowOrganisationName
public void setShowOrganisationName(Boolean showOrganisationName)
-
showOrganisationUnit
public OperationSignatureIdentifier showOrganisationUnit(Boolean showOrganisationUnit)
-
getShowOrganisationUnit
@Nullable public @Nullable Boolean getShowOrganisationUnit()
Displays or hides the certificate owner's suborganization/department (OU).- Returns:
- showOrganisationUnit
-
setShowOrganisationUnit
public void setShowOrganisationUnit(Boolean showOrganisationUnit)
-
showSignedBy
public OperationSignatureIdentifier showSignedBy(Boolean showSignedBy)
-
getShowSignedBy
@Nullable public @Nullable Boolean getShowSignedBy()
Displays or hides the text `Digitally signed by`. Can be overridden by the value of `textSignedBy`.- Returns:
- showSignedBy
-
setShowSignedBy
public void setShowSignedBy(Boolean showSignedBy)
-
showState
public OperationSignatureIdentifier showState(Boolean showState)
-
getShowState
@Nullable public @Nullable Boolean getShowState()
Displays or hides the state (S) in which the certificate holder is located.- Returns:
- showState
-
setShowState
public void setShowState(Boolean showState)
-
textSignedBy
public OperationSignatureIdentifier textSignedBy(String textSignedBy)
-
getTextSignedBy
@Nullable public @Nullable String getTextSignedBy()
Text that is displayed when the `showSignedBy` option is enabled. If not set, then the text `Digitally signed by` is used as default.- Returns:
- textSignedBy
-
setTextSignedBy
public void setTextSignedBy(String textSignedBy)
-
-