Package de.gematik.test.tiger.common.pki
Class TigerPkiIdentity
java.lang.Object
de.gematik.test.tiger.common.pki.TigerPkiIdentity
- Direct Known Subclasses:
TigerConfigurationPkiIdentity
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTigerPkiIdentity(File file, String fileLoadingInformation) TigerPkiIdentity(String fileLoadingInformation) TigerPkiIdentity(X509Certificate certificate, PrivateKey privateKey) TigerPkiIdentity(X509Certificate certificate, PrivateKey privateKey, Optional<String> keyId) -
Method Summary
Modifier and TypeMethodDescriptionaddCertificateToCertificateChain(X509Certificate newChainCertificate) builder()protected booleanbooleangetKeyId()inthashCode()voidsetCertificate(X509Certificate certificate) voidvoidsetPrivateKey(PrivateKey privateKey) toKeyStoreWithPassword(String password) toString()
-
Constructor Details
-
TigerPkiIdentity
-
TigerPkiIdentity
-
TigerPkiIdentity
-
TigerPkiIdentity
public TigerPkiIdentity() -
TigerPkiIdentity
@ConstructorProperties({"certificate","privateKey","keyId"}) public TigerPkiIdentity(X509Certificate certificate, PrivateKey privateKey, Optional<String> keyId)
-
-
Method Details
-
addCertificateToCertificateChain
-
toKeyStoreWithPassword
-
builder
-
getCertificate
-
getPrivateKey
-
getKeyId
-
getCertificateChain
-
setCertificate
-
setPrivateKey
-
setKeyId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withKeyId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-