Interface AsymmetricDecryptionCryptoStore
- All Superinterfaces:
CryptoStore
A crypto store containing asymmetric key material for decrypting data.
- Since:
- 3.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.curity.identityserver.sdk.data.CryptoStore
CryptoStore.ExportableAsKeyStore -
Method Summary
Modifier and TypeMethodDescriptionGets the certificate chain contained by this crypto store, or an empty list if no chain exists.Gets the private key contained by this crypto store.
-
Method Details
-
getPrivateKey
PrivateKey getPrivateKey()Gets the private key contained by this crypto store.- Returns:
- a
PrivateKey
-
getCertificates
List<X509Certificate> getCertificates()Gets the certificate chain contained by this crypto store, or an empty list if no chain exists.The returned list is unmodifiable and is ordered with the most significant certificate first, followed by zero or more certificate authorities.
- Returns:
- a list of
X509Certificates
-