Package net.webpdf.wsclient.openapi
Class CertificateEntry
- java.lang.Object
-
- net.webpdf.wsclient.openapi.CertificateEntry
-
public class CertificateEntry extends Object
An actual X509 certificate entry.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALIAS_NAMEstatic StringJSON_PROPERTY_CERTIFICATEstatic StringJSON_PROPERTY_HAS_PRIVATE_KEYstatic StringJSON_PROPERTY_IS_PRIVATE_KEY_READABLEstatic StringJSON_PROPERTY_KEY_STORE_NAMEstatic StringJSON_PROPERTY_KEY_STORE_ORIGIN
-
Constructor Summary
Constructors Constructor Description CertificateEntry()CertificateEntry(String aliasName, String certificate, Boolean hasPrivateKey, Boolean isPrivateKeyReadable, String keyStoreName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetAliasName()Alias name for the certificate@Nullable StringgetCertificate()PEM encoded certificate@Nullable BooleangetHasPrivateKey()true = private key is available for the certificate@Nullable BooleangetIsPrivateKeyReadable()true = private key is available and readable@Nullable StringgetKeyStoreName()Name of the keystore from which the certificate was originally obtained.@Nullable KeyStoreOrigingetKeyStoreOrigin()Get keyStoreOrigininthashCode()CertificateEntrykeyStoreOrigin(KeyStoreOrigin keyStoreOrigin)voidsetKeyStoreOrigin(KeyStoreOrigin keyStoreOrigin)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ALIAS_NAME
public static final String JSON_PROPERTY_ALIAS_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CERTIFICATE
public static final String JSON_PROPERTY_CERTIFICATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HAS_PRIVATE_KEY
public static final String JSON_PROPERTY_HAS_PRIVATE_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_PRIVATE_KEY_READABLE
public static final String JSON_PROPERTY_IS_PRIVATE_KEY_READABLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEY_STORE_NAME
public static final String JSON_PROPERTY_KEY_STORE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEY_STORE_ORIGIN
public static final String JSON_PROPERTY_KEY_STORE_ORIGIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAliasName
@Nullable public @Nullable String getAliasName()
Alias name for the certificate- Returns:
- aliasName
-
getCertificate
@Nullable public @Nullable String getCertificate()
PEM encoded certificate- Returns:
- certificate
-
getHasPrivateKey
@Nullable public @Nullable Boolean getHasPrivateKey()
true = private key is available for the certificate- Returns:
- hasPrivateKey
-
getIsPrivateKeyReadable
@Nullable public @Nullable Boolean getIsPrivateKeyReadable()
true = private key is available and readable- Returns:
- isPrivateKeyReadable
-
getKeyStoreName
@Nullable public @Nullable String getKeyStoreName()
Name of the keystore from which the certificate was originally obtained.- Returns:
- keyStoreName
-
keyStoreOrigin
public CertificateEntry keyStoreOrigin(KeyStoreOrigin keyStoreOrigin)
-
getKeyStoreOrigin
@Nullable public @Nullable KeyStoreOrigin getKeyStoreOrigin()
Get keyStoreOrigin- Returns:
- keyStoreOrigin
-
setKeyStoreOrigin
public void setKeyStoreOrigin(KeyStoreOrigin keyStoreOrigin)
-
-