Package net.webpdf.wsclient.openapi
Class ApplicationConfigTsa
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ApplicationConfigTsa
-
public class ApplicationConfigTsa extends Object
Defines a TSA (Time Stamp Authority which supports [RFC3161](https://www.ietf.org/rfc/rfc3161.txt)) that shall be used by the server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplicationConfigTsa.HashAlgorithmEnumThe hashing algorithm used to check the validity of the timestamp.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HASH_ALGORITHMstatic StringJSON_PROPERTY_PASSWORDstatic StringJSON_PROPERTY_URLstatic StringJSON_PROPERTY_USER
-
Constructor Summary
Constructors Constructor Description ApplicationConfigTsa()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable ApplicationConfigTsa.HashAlgorithmEnumgetHashAlgorithm()The hashing algorithm used to check the validity of the timestamp.@Nullable StringgetPassword()The password required for authentication with the TSA.@Nullable StringgetUrl()The URL where the TSA can be reached.@Nullable StringgetUser()The username required for authentication with the TSA.ApplicationConfigTsahashAlgorithm(ApplicationConfigTsa.HashAlgorithmEnum hashAlgorithm)inthashCode()ApplicationConfigTsapassword(String password)voidsetHashAlgorithm(ApplicationConfigTsa.HashAlgorithmEnum hashAlgorithm)voidsetPassword(String password)voidsetUrl(String url)voidsetUser(String user)StringtoString()ApplicationConfigTsaurl(String url)ApplicationConfigTsauser(String user)
-
-
-
Field Detail
-
JSON_PROPERTY_HASH_ALGORITHM
public static final String JSON_PROPERTY_HASH_ALGORITHM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL
public static final String JSON_PROPERTY_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER
public static final String JSON_PROPERTY_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hashAlgorithm
public ApplicationConfigTsa hashAlgorithm(ApplicationConfigTsa.HashAlgorithmEnum hashAlgorithm)
-
getHashAlgorithm
@Nullable public @Nullable ApplicationConfigTsa.HashAlgorithmEnum getHashAlgorithm()
The hashing algorithm used to check the validity of the timestamp.- Returns:
- hashAlgorithm
-
setHashAlgorithm
public void setHashAlgorithm(ApplicationConfigTsa.HashAlgorithmEnum hashAlgorithm)
-
password
public ApplicationConfigTsa password(String password)
-
getPassword
@Nullable public @Nullable String getPassword()
The password required for authentication with the TSA.- Returns:
- password
-
setPassword
public void setPassword(String password)
-
url
public ApplicationConfigTsa url(String url)
-
getUrl
@Nullable public @Nullable String getUrl()
The URL where the TSA can be reached.- Returns:
- url
-
setUrl
public void setUrl(String url)
-
user
public ApplicationConfigTsa user(String user)
-
getUser
@Nullable public @Nullable String getUser()
The username required for authentication with the TSA.- Returns:
- user
-
setUser
public void setUser(String user)
-
-