public interface KeyDatabase extends CertificateDatabase
key identifiers.
The key maybe required to, for instance, decrypt an encrypted S/MIME
message (content encryption key).
certificate chain.| Modifier and Type | Method and Description |
|---|---|
java.security.Key |
getKey(KeyIdentifier keyID)
Gets the key belonging to the given key identidier.
|
getCertificate, getCertificateChainjava.security.Key getKey(KeyIdentifier keyID) throws KeyDatabaseException
keyID - the key identifier identifying the entity to
which the requested key belongs tonull if there is no key for this identifierKeyDatabaseException - if there occurs some problem when trying to fetch the key