|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KeyRepository
A public interface that defines methods for locating public and private keys, and their associated Public Key certificates.
| Method Summary | |
|---|---|
java.security.cert.Certificate |
getCertificate(byte[] hash)
Gets a Public Key certificate (X.509 or other) identified by the message digest (hash) of the entire certificate. |
java.security.cert.Certificate |
getCertificate(java.lang.String name)
Gets a Public Key certificate (X.509 or other). |
java.security.PublicKey |
getPublicKey(byte[] hash)
Gets the public key component of a public-private key pair using the message digest (hash) of a Public Key certificate. |
java.security.PublicKey |
getPublicKey(java.lang.String name)
Gets the public key component of a public-private key pair using the message digest (hash) of a Public Key certificate. |
java.security.PrivateKey |
PrivateKey(java.lang.String name)
Gets the private key component of a public-private key pair. |
| Method Detail |
|---|
java.security.cert.Certificate getCertificate(java.lang.String name)
name - unique identifier of a Public Key certificate,
which indirectly identifies the associated public-private
key pair associated with the certificatejava.security.cert.Certificate getCertificate(byte[] hash)
hash - uniquely identifies a Public Key certificate,
thus indirectly identifying the associated public-private
key pair associated with the certificatejava.security.PublicKey getPublicKey(java.lang.String name)
name - unique identifier of a Public Key certificate,
which indirectly identifies the associated public-private
key pair associated with the certificatejava.security.PublicKey getPublicKey(byte[] hash)
hash - uniquely identifies a Public Key certificate,
thus indirectly identifying the associated public-private
key pair associated with the certificatejava.security.PrivateKey PrivateKey(java.lang.String name)
name - unique identifier of a Public Key certificate,
which indirectly identifies the associated public-private
key pair associated with the certificate
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||