Package com.browserup.bup.mitm
Interface CertificateAndKeySource
-
- All Known Implementing Classes:
ExistingCertificateSource,KeyStoreCertificateSource,KeyStoreFileCertificateSource,PemFileCertificateSource,RootCertificateGenerator
public interface CertificateAndKeySourceA CertificateAndKeySource generatesCertificateAndKeys, i.e. the root certificate and private key used to sign impersonated certificates of upstream servers. Implementations of this interface load impersonation materials from various sources, including Java KeyStores, JKS files, etc., or generate them on-the-fly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CertificateAndKeyload()Loads a certificate and its corresponding private key.
-
-
-
Method Detail
-
load
CertificateAndKey load()
Loads a certificate and its corresponding private key. Every time this method is called, it should return the same certificate and private key (although it may be a differentCertificateAndKeyinstance).- Returns:
- certificate and its corresponding private key
-
-