Class CMKeyStoreInstance
java.lang.Object
com.io7m.canonmill.core.internal.CMKeyStoreInstance
A POJO keystore instance.
Instances are immutable and thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CMKeyStoreInstancecreate(CMKeyStoreDescription description) Create an instance from a description.static CMKeyStoreInstanceempty()
-
Method Details
-
empty
- Returns:
- An empty instance
-
create
Create an instance from a description.- Parameters:
description- The input description- Returns:
- An instance
- Throws:
IOException- On errors
-
keyEntries
- Returns:
- A read-only view of the key entries
-
certEntriesByAlias
- Returns:
- A read-only view of the certificate entries by alias
-
certEntriesByCN
- Returns:
- A read-only view of the certificate entries by common name
-