|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyPairProvider
Resolves cryptographic keys.
Method Summary | |
---|---|
KeyPair |
resolveByAlias(String alias,
char[] password)
Resolves a keypair by an alias. |
KeyPair |
resolveByCertificate(Certificate cert,
char[] password)
Resolves a key pair by a given certificate. |
KeyPair |
resolveBySerialIssuer(String issuerDN,
BigInteger serial,
char[] password)
Resolves a key pair by a SerialIssuer, this is required to resolve certificates and it's private keys by the id of the certificate. |
Method Detail |
---|
KeyPair resolveByAlias(String alias, char[] password) throws KeyPairResolvingException
alias
- the alias.password
- a password for the private key, can be null.
KeyPairResolvingException
- if keypair can't be resolved.KeyPair resolveBySerialIssuer(String issuerDN, BigInteger serial, char[] password) throws KeyPairResolvingException
issuerDN
- the issuerDN.serial
- the serial.password
- a password for the private key, can be null.
KeyPairResolvingException
- if error occurs.KeyPair resolveByCertificate(Certificate cert, char[] password) throws KeyPairResolvingException
cert
- the cert.password
- a password for the private key, can be null.
KeyPairResolvingException
- if error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |