|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KeyDatabase
A simple key database allowing to query for (private, secret) keys
based on their key identifiers.
The key maybe required to, for instance, decrypt an encrypted S/MIME
message (content encryption key).
If private keys are held by this key database it also may allow to
access the corresponding certificate chain.
| Method Summary | |
|---|---|
java.security.Key |
getKey(KeyIdentifier keyID)
Gets the key belonging to the given key identidier. |
| Methods inherited from interface iaik.smime.ess.utils.CertificateDatabase |
|---|
getCertificate, getCertificateChain |
| Method Detail |
|---|
java.security.Key getKey(KeyIdentifier keyID)
throws KeyDatabaseException
keyID - the key identifier identifying the entity to
which the requested key belongs to
null if there is no key for this identifier
KeyDatabaseException - if there occurs some problem when trying to fetch the key
|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
|
v6.1 (c) 2002 IAIK, (c) 2003 - 2025 SIC |
|