Package gnu.crypto.keyring
Provides a basic API for managing private and public authentication credentials
stored in file objects.
IKeyring | The top-level interface to a keyring: a file that is used to
store and protect public and private cryptographic keys.
A keyring is modelled as a mapping of one alias to one or
more entries (optionally of different types).
See also the sub-interfaces IPublicKeyring and
IPrivateKeyring for special types of keyrings --the difference
being in the type of entries they contain.
|
IPrivateKeyring | An interface to private, or "personal", keyrings, which contain private
credentials. |
IPublicKeyring | An interface for keyrings that contain trusted (by the owner) public
credentials (incl. certificates).
|
PasswordProtectedEntry | |
Provides a basic API for managing private and public authentication credentials
stored in file objects.
Package overview
The GNU Keyring file format is a proposed standard file format for the
long-term storage of cryptographic data, such as private keys and digital
certificates. This format is being designed with the following goals:
- Protection of trusted credentials, through the use of a password-based
MAC (message authentication code) over these credentials.
- Protection of secret credentials, through the use of a password-based MAC
over the data, which is encrypted with a strong, password-based cipher.
- Management of disparate types of cryptographic data, such as different
types of digital certificate.
- Extensibility. It should be possible to extend the file format when new
requirements arise, without undo breakage of existing applications.
- Compatibility with the JDK. This means that it should be possible to use
this format as a keystore, so GNU implementations of the Java platform can
provide the same functionality as the JDK.
The following two diagrams show the important classes participating in this
package. The first one showing the toplevel objects (files) , while the second
shows the classes representinf their contents:
![]()
../../..
![]()
../../..
GNU Crypto home page
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.