Skip navigation links
A B C D E F G H I J K L M N O P R S T U W 

A

add(String) - Method in class net.lightbody.bmp.mitm.TrustSource
Returns a new TrustSource containing the same trusted CAs as this TrustSource, plus zero or more CAs contained in the PEM-encoded String.
add(X509Certificate...) - Method in class net.lightbody.bmp.mitm.TrustSource
Returns a new TrustSource containing the same trusted CAs as this TrustSource, plus zero or more additional trusted X509Certificates.
add(KeyStore) - Method in class net.lightbody.bmp.mitm.TrustSource
Returns a new TrustSource containing the same trusted CAs as this TrustSource, plus all trusted certificate entries from the specified trustStore.
add(File) - Method in class net.lightbody.bmp.mitm.TrustSource
Returns a new TrustSource containing the same trusted CAs as this TrustSource, plus zero or more CAs contained in the PEM-encoded File.
add(TrustSource) - Method in class net.lightbody.bmp.mitm.TrustSource
Returns a new TrustSource containing the same trusted CAs as this TrustSource, plus the trusted CAs in the specified TrustSource.

B

BouncyCastleSecurityProviderTool - Class in net.lightbody.bmp.mitm.tools
 
BouncyCastleSecurityProviderTool() - Constructor for class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
build() - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
 
build() - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator.Builder
 
builder() - Static method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager
Convenience method to return a new ImpersonatingMitmManager.Builder instance default default values: a RootCertificateGenerator that dynamically generates an RSA root certificate and RSA server certificates.
Builder() - Constructor for class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
 
builder() - Static method in class net.lightbody.bmp.mitm.RootCertificateGenerator
Convenience method to return a new RootCertificateGenerator.Builder instance.
Builder() - Constructor for class net.lightbody.bmp.mitm.RootCertificateGenerator.Builder
 
builderWithECC() - Static method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager
Convenience method to return a new ImpersonatingMitmManager.Builder instance that will dynamically create EC root certificates and EC server certificates, but otherwise uses default values.
builtinTrustSource() - Static method in class net.lightbody.bmp.mitm.TrustSource
Returns a TrustSource containing only the builtin trusted CAs and does not include the JVM's trusted CAs.

C

cacheConcurrencyLevel(int) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The concurrency level for the SSLContext cache.
cacheExpirationInterval(long, TimeUnit) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The length of time SSLContexts with forged certificates will be kept in the cache.
CertificateAndKey - Class in net.lightbody.bmp.mitm
A simple container for an X.509 certificate and its corresponding private key.
CertificateAndKey(X509Certificate, PrivateKey) - Constructor for class net.lightbody.bmp.mitm.CertificateAndKey
 
CertificateAndKeySource - Interface in net.lightbody.bmp.mitm
A CertificateAndKeySource generates CertificateAndKeys, i.e.
certificateCreated(long, long) - Method in class net.lightbody.bmp.mitm.stats.CertificateGenerationStatistics
Records a certificate generation that started at startTimeMs and completed at finishTimeMs.
CertificateCreationException - Exception in net.lightbody.bmp.mitm.exception
Indicates a problem creating a certificate (server or CA).
CertificateCreationException() - Constructor for exception net.lightbody.bmp.mitm.exception.CertificateCreationException
 
CertificateCreationException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.CertificateCreationException
 
CertificateCreationException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.CertificateCreationException
 
CertificateCreationException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.CertificateCreationException
 
CertificateGenerationStatistics - Class in net.lightbody.bmp.mitm.stats
Tracks basic certificate generation statistics.
CertificateGenerationStatistics() - Constructor for class net.lightbody.bmp.mitm.stats.CertificateGenerationStatistics
 
CertificateInfo - Class in net.lightbody.bmp.mitm
Container for X.509 Certificate information.
CertificateInfo() - Constructor for class net.lightbody.bmp.mitm.CertificateInfo
 
certificateInfo(CertificateInfo) - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator.Builder
Certificate info to use to generate the root certificate.
CertificateInfoGenerator - Interface in net.lightbody.bmp.mitm
A functional interface to allow customization of the certificates generated by the ImpersonatingMitmManager.
certificateInfoGenerator(CertificateInfoGenerator) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The CertificateInfoGenerator that will populate CertificateInfo objects containing certificate data for forced X509Certificates.
CertificateSourceException - Exception in net.lightbody.bmp.mitm.exception
Indicates that a CertificateAndKeySource encountered an error while loading a certificate and/or private key from a KeyStore, PEM file, or other source.
CertificateSourceException() - Constructor for exception net.lightbody.bmp.mitm.exception.CertificateSourceException
 
CertificateSourceException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.CertificateSourceException
 
CertificateSourceException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.CertificateSourceException
 
CertificateSourceException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.CertificateSourceException
 
certificateTool(SecurityProviderTool) - Method in class net.lightbody.bmp.mitm.KeyStoreFileCertificateSource
Override the default SecurityProviderTool used to load the KeyStore.
certificateTool(SecurityProviderTool) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The SecurityProviderTool implementation that will be used to generate certificates.
certificateTool(SecurityProviderTool) - Method in class net.lightbody.bmp.mitm.PemFileCertificateSource
Override the default SecurityProviderTool used to load the PEM files.
certificateTool(SecurityProviderTool) - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator.Builder
The SecurityProviderTool implementation that will be used to generate certificates.
checkClientTrusted(X509Certificate[], String, Socket) - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
 
checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
 
checkClientTrusted(X509Certificate[], String) - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
 
checkServerTrusted(X509Certificate[], String, Socket) - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
 
checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
 
checkServerTrusted(X509Certificate[], String) - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
 
classpathResourceToString(String, Charset) - Static method in class net.lightbody.bmp.util.ClasspathResourceUtil
Retrieves a classpath resource using the ClasspathResourceUtil classloader and converts it to a String using the specified character set.
ClasspathResourceUtil - Class in net.lightbody.bmp.util
Utility class for dealing with classpath resources.
ClasspathResourceUtil() - Constructor for class net.lightbody.bmp.util.ClasspathResourceUtil
 
clientCiphers(Collection<String>) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The cipher suites allowed on client connections to the proxy.
clientSslEngineFor(HttpRequest, SSLSession) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager
 
commonName(String) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
countryCode(String) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
createCARootCertificate(CertificateInfo, KeyPair, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
createCARootCertificate(CertificateInfo, KeyPair, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
createCARootCertificate(CertificateInfo, KeyPair, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Creates a new self-signed CA root certificate, suitable for use signing new server certificates.
createEmptyKeyStore(String, String) - Static method in class net.lightbody.bmp.mitm.util.KeyStoreUtil
Creates and initializes an empty KeyStore using the specified keyStoreType.
createRootCertificateKeyStore(String, CertificateAndKey, String, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
createRootCertificateKeyStore(String, CertificateAndKey, String, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
createRootCertificateKeyStore(String, CertificateAndKey, String, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Assembles a Java KeyStore containing a CA root certificate and its private key.
createRootCertificateKeyStore(String, X509Certificate, String, PrivateKey, String, String) - Static method in class net.lightbody.bmp.mitm.util.KeyStoreUtil
Creates a new KeyStore containing the specified root certificate and private key.
createServerCertificate(CertificateInfo, X509Certificate, PrivateKey, KeyPair, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
createServerCertificate(CertificateInfo, X509Certificate, PrivateKey, KeyPair, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
createServerCertificate(CertificateInfo, X509Certificate, PrivateKey, KeyPair, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Creates a new server X.509 certificate using the serverKeyPair.
createServerKeyStore(String, CertificateAndKey, X509Certificate, String, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
createServerKeyStore(String, CertificateAndKey, X509Certificate, String, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
createServerKeyStore(String, CertificateAndKey, X509Certificate, String, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Assembles a Java KeyStore containing a server's certificate, private key, and the certificate authority's certificate, which can be used to create an SSLContext.

D

decodePemEncodedCertificate(Reader) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
decodePemEncodedCertificate(Reader) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
decodePemEncodedCertificate(Reader) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Decodes a PEM-encoded X.509 Certificate into a X509Certificate.
decodePemEncodedPrivateKey(Reader, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
decodePemEncodedPrivateKey(Reader, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
decodePemEncodedPrivateKey(Reader, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Decodes a PEM-encoded private key into a PrivateKey.
DEFAULT_EXTENDED_TRUST_MANAGER - Static variable in class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
The default extended trust manager, which will be used to determine if certificates would otherwise be trusted.
DEFAULT_KEYSTORE_TYPE - Static variable in class net.lightbody.bmp.mitm.util.MitmConstants
The default KeyStore type to use when creating KeyStores (e.g.
DEFAULT_MESSAGE_DIGEST - Static variable in class net.lightbody.bmp.mitm.util.MitmConstants
The default message digest to use when signing certificates (CA or server).
DefaultSecurityProviderTool - Class in net.lightbody.bmp.mitm.tools
A SecurityProviderTool implementation that uses the default system Security provider where possible, but uses the Bouncy Castle provider for operations that the JCA does not provide or implement (e.g.
DefaultSecurityProviderTool() - Constructor for class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
defaultTrustSource() - Static method in class net.lightbody.bmp.mitm.TrustSource
Returns a TrustSource containing the default trusted CAs.

E

ECKeyGenerator - Class in net.lightbody.bmp.mitm.keys
A KeyGenerator that creates Elliptic Curve key pairs.
ECKeyGenerator() - Constructor for class net.lightbody.bmp.mitm.keys.ECKeyGenerator
Create a KeyGenerator that will create EC key pairs using the secp256r1 named curve (NIST P-256) supported by modern web browsers.
ECKeyGenerator(String) - Constructor for class net.lightbody.bmp.mitm.keys.ECKeyGenerator
Create a KeyGenerator that will create EC key pairs using the specified named curve.
email(String) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
empty() - Static method in class net.lightbody.bmp.mitm.TrustSource
Returns a TrustSource that contains no trusted CAs.
EMPTY_CERTIFICATE_ARRAY - Static variable in class net.lightbody.bmp.mitm.util.TrustUtil
Empty X509 certificate array, useful for indicating an empty root CA trust store.
encodeCertificateAsPem(Certificate) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
encodeCertificateAsPem(Certificate) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
encodeCertificateAsPem(Certificate) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Encodes a certificate in PEM format.
encodePrivateKeyAsPem(String) - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator
Returns the generated private key as a PEM-encoded String, encrypted using the specified password and the RootCertificateGenerator.DEFAULT_PEM_ENCRYPTION_ALGORITHM.
encodePrivateKeyAsPem(PrivateKey, String, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
encodePrivateKeyAsPem(PrivateKey, String, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
encodePrivateKeyAsPem(PrivateKey, String, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Encodes a private key in PEM format, encrypting it with the specified password.
encodeRootCertificateAsPem() - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator
Returns the generated root certificate as a PEM-encoded String.
EncryptionUtil - Class in net.lightbody.bmp.mitm.util
A collection of simple JCA-related utilities.
EncryptionUtil() - Constructor for class net.lightbody.bmp.mitm.util.EncryptionUtil
 
engineGetTrustManagers() - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureTrustManagerFactory
 
engineInit(KeyStore) - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureTrustManagerFactory
 
engineInit(ManagerFactoryParameters) - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureTrustManagerFactory
 
ExistingCertificateSource - Class in net.lightbody.bmp.mitm
A simple adapter that produces a CertificateAndKey from existing X509Certificate and PrivateKey java objects.
ExistingCertificateSource(X509Certificate, PrivateKey) - Constructor for class net.lightbody.bmp.mitm.ExistingCertificateSource
 
ExportException - Exception in net.lightbody.bmp.mitm.exception
Indicates an error occurred while exporting/serializing a certificate, private key, KeyStore, etc.
ExportException() - Constructor for exception net.lightbody.bmp.mitm.exception.ExportException
 
ExportException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.ExportException
 
ExportException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.ExportException
 
ExportException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.ExportException
 
extractTrustedCertificateEntries(KeyStore) - Static method in class net.lightbody.bmp.mitm.util.TrustUtil
Extracts the KeyStore.TrustedCertificateEntrys from the specified KeyStore.

F

firstCertificateGeneratedTimestamp() - Method in class net.lightbody.bmp.mitm.stats.CertificateGenerationStatistics
Returns the timestamp (ms since epoch) when the first certificate was generated, or 0 if none have been generated.

G

generate(List<String>, X509Certificate) - Method in interface net.lightbody.bmp.mitm.CertificateInfoGenerator
Generate a certificate for the specified hostnames, optionally using parameters from the originalCertificate.
generate(List<String>, X509Certificate) - Method in class net.lightbody.bmp.mitm.HostnameCertificateInfoGenerator
 
generate() - Method in class net.lightbody.bmp.mitm.keys.ECKeyGenerator
 
generate() - Method in interface net.lightbody.bmp.mitm.keys.KeyGenerator
Generates a new public/private key pair.
generate() - Method in class net.lightbody.bmp.mitm.keys.RSAKeyGenerator
 
getAcceptedIssuers() - Method in class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
 
getAvgCertificateGenerationTimeMs() - Method in class net.lightbody.bmp.mitm.stats.CertificateGenerationStatistics
Returns the average number of ms per certificate generated.
getBuiltInCipherList() - Static method in class net.lightbody.bmp.mitm.util.SslUtil
Returns ciphers from the hard-coded list of "reasonable" default ciphers in SslUtil.DEFAULT_CIPHERS_LIST_RESOURCE.
getBuiltinTrustedCAs() - Static method in class net.lightbody.bmp.mitm.util.TrustUtil
Returns the built-in list of trusted CAs.
getCertificate() - Method in class net.lightbody.bmp.mitm.CertificateAndKey
 
getCertificatesGenerated() - Method in class net.lightbody.bmp.mitm.stats.CertificateGenerationStatistics
Returns the total number of certificates created.
getCommonName() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getCountryCode() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getDefaultCipherList() - Static method in class net.lightbody.bmp.mitm.util.SslUtil
Returns a reasonable default cipher list for new client and server SSL connections.
getDefaultJavaTrustManager() - Static method in class net.lightbody.bmp.mitm.util.TrustUtil
Returns a new instance of the default TrustManager for this JVM.
getDigitalSignatureType(Key) - Static method in class net.lightbody.bmp.mitm.util.EncryptionUtil
Returns the type of digital signature used with the specified signing key.
getEmail() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getEnabledJdkCipherSuites() - Static method in class net.lightbody.bmp.mitm.util.SslUtil
Returns the list of default "enabled" ciphers for server TLS connections, as reported by the default Java security provider.
getHostAndPortFromRequest(HttpRequest) - Static method in class net.lightbody.bmp.util.HttpUtil
Gets the host and port from the specified request.
getHostAndPortFromUri(String) - Static method in class net.lightbody.bmp.util.HttpUtil
Retrieves the host and port from the specified URI.
getHostFromRequest(HttpRequest) - Static method in class net.lightbody.bmp.util.HttpUtil
Identify the host of an HTTP request.
getJavaTrustedCAs() - Static method in class net.lightbody.bmp.mitm.util.TrustUtil
Returns the list of root CAs trusted by default in this JVM, according to the TrustManager returned by TrustUtil.getDefaultJavaTrustManager().
getKeyManagers(KeyStore, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
getKeyManagers(KeyStore, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
 
getKeyManagers(KeyStore, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Retrieve the KeyManagers for the specified KeyStore.
getKeyManagers(KeyStore, String, String, String) - Static method in class net.lightbody.bmp.mitm.util.KeyStoreUtil
Retrieve the KeyManagers for the specified KeyStore.
getLocality() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getNotAfter() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getNotAfter() - Method in class net.lightbody.bmp.mitm.HostnameCertificateInfoGenerator
Returns the default Not After date for impersonated certificates.
getNotBefore() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getNotBefore() - Method in class net.lightbody.bmp.mitm.HostnameCertificateInfoGenerator
Returns the default Not Before date for impersonated certificates.
getOrganization() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getOrganizationalUnit() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getPrivateKey() - Method in class net.lightbody.bmp.mitm.CertificateAndKey
 
getRandomBigInteger(int) - Static method in class net.lightbody.bmp.mitm.util.EncryptionUtil
Creates a random BigInteger greater than 0 with the specified number of bits.
getServerCertificate(SSLSession) - Static method in class net.lightbody.bmp.mitm.util.SslUtil
Returns the X509Certificate for the server this session is connected to.
getSignatureAlgorithm(String, Key) - Static method in class net.lightbody.bmp.mitm.util.EncryptionUtil
Creates a signature algorithm string using the specified message digest and the encryption type corresponding to the supplied signingKey.
getState() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getStatistics() - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager
Returns basic certificate generation statistics for this MitmManager.
getSubjectAlternativeNames() - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
getTotalCertificateGenerationTimeMs() - Method in class net.lightbody.bmp.mitm.stats.CertificateGenerationStatistics
Returns the total number of ms spent generating all certificates.
getTrustedCAs() - Method in class net.lightbody.bmp.mitm.TrustSource
Returns the X509 certificates considered "trusted" by this TrustSource.
getUpstreamServerSslContext(Collection<String>, TrustSource) - Static method in class net.lightbody.bmp.mitm.util.SslUtil
Creates a netty SslContext for use when connecting to upstream servers.

H

HostnameCertificateInfoGenerator - Class in net.lightbody.bmp.mitm
A CertificateInfoGenerator that uses only a hostname to populate a new CertificateInfo.
HostnameCertificateInfoGenerator() - Constructor for class net.lightbody.bmp.mitm.HostnameCertificateInfoGenerator
 
HttpUtil - Class in net.lightbody.bmp.util
Contains utility methods for netty HttpRequest and related objects.
HttpUtil() - Constructor for class net.lightbody.bmp.util.HttpUtil
 

I

ImpersonatingMitmManager - Class in net.lightbody.bmp.mitm.manager
An MitmManager that will create SSLEngines for clients that present impersonated certificates for upstream servers.
ImpersonatingMitmManager(CertificateAndKeySource, KeyGenerator, String, TrustSource, int, long, SecurityProviderTool, CertificateInfoGenerator, Collection<String>, Collection<String>) - Constructor for class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager
Creates a new ImpersonatingMitmManager.
ImpersonatingMitmManager.Builder - Class in net.lightbody.bmp.mitm.manager
A Builder for ImpersonatingMitmManagers.
ImportException - Exception in net.lightbody.bmp.mitm.exception
Indicates that an error occurred while importing a certificate, private key, or KeyStore.
ImportException() - Constructor for exception net.lightbody.bmp.mitm.exception.ImportException
 
ImportException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.ImportException
 
ImportException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.ImportException
 
ImportException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.ImportException
 
InsecureExtendedTrustManager - Class in net.lightbody.bmp.mitm.trustmanager
An X509ExtendedTrustManager and X509TrustManager that will accept all server and client certificates.
InsecureExtendedTrustManager() - Constructor for class net.lightbody.bmp.mitm.trustmanager.InsecureExtendedTrustManager
 
InsecureTrustManagerFactory - Class in net.lightbody.bmp.mitm.trustmanager
Note: This is a modified version of InsecureTrustManagerFactory from Netty 4.0.36.
InsecureTrustManagerFactory() - Constructor for class net.lightbody.bmp.mitm.trustmanager.InsecureTrustManagerFactory
 
INSTANCE - Static variable in class net.lightbody.bmp.mitm.trustmanager.InsecureTrustManagerFactory
 
isEcKey(Key) - Static method in class net.lightbody.bmp.mitm.util.EncryptionUtil
Returns true if the key is an elliptic curve public or private key.
isRsaKey(Key) - Static method in class net.lightbody.bmp.mitm.util.EncryptionUtil
Returns true if the key is an RSA public or private key.
isUnlimitedStrengthAllowed() - Static method in class net.lightbody.bmp.mitm.util.EncryptionUtil
Determines if unlimited-strength cryptography is allowed, i.e.

J

javaTrustSource() - Static method in class net.lightbody.bmp.mitm.TrustSource
Returns a TrustSource containing the default CAs trusted by this JVM.

K

KeyGenerator - Interface in net.lightbody.bmp.mitm.keys
A functional interface for key pair generators.
keyGenerator(KeyGenerator) - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator.Builder
The KeyGenerator that will be used to generate the root certificate's public and private keys.
KeyGeneratorException - Exception in net.lightbody.bmp.mitm.exception
Indicates an exception occurred while generating a key pair.
KeyGeneratorException() - Constructor for exception net.lightbody.bmp.mitm.exception.KeyGeneratorException
 
KeyGeneratorException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.KeyGeneratorException
 
KeyGeneratorException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.KeyGeneratorException
 
KeyGeneratorException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.KeyGeneratorException
 
KeyStoreAccessException - Exception in net.lightbody.bmp.mitm.exception
Indicates an error occurred while accessing a java KeyStore.
KeyStoreAccessException() - Constructor for exception net.lightbody.bmp.mitm.exception.KeyStoreAccessException
 
KeyStoreAccessException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.KeyStoreAccessException
 
KeyStoreAccessException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.KeyStoreAccessException
 
KeyStoreAccessException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.KeyStoreAccessException
 
KeyStoreCertificateSource - Class in net.lightbody.bmp.mitm
A CertificateAndKeySource that loads the root certificate and private key from a Java KeyStore.
KeyStoreCertificateSource(KeyStore, String, String) - Constructor for class net.lightbody.bmp.mitm.KeyStoreCertificateSource
 
KeyStoreFileCertificateSource - Class in net.lightbody.bmp.mitm
Loads a KeyStore from a file or classpath resource.
KeyStoreFileCertificateSource(String, String, String, String) - Constructor for class net.lightbody.bmp.mitm.KeyStoreFileCertificateSource
Creates a CertificateAndKeySource that loads an existing KeyStore from a classpath resource.
KeyStoreFileCertificateSource(String, File, String, String) - Constructor for class net.lightbody.bmp.mitm.KeyStoreFileCertificateSource
Creates a CertificateAndKeySource that loads an existing KeyStore from a classpath resource.
KeyStoreUtil - Class in net.lightbody.bmp.mitm.util
Utility for loading, saving, and manipulating KeyStores.
KeyStoreUtil() - Constructor for class net.lightbody.bmp.mitm.util.KeyStoreUtil
 

L

load() - Method in interface net.lightbody.bmp.mitm.CertificateAndKeySource
Loads a certificate and its corresponding private key.
load() - Method in class net.lightbody.bmp.mitm.ExistingCertificateSource
 
load() - Method in class net.lightbody.bmp.mitm.KeyStoreCertificateSource
 
load() - Method in class net.lightbody.bmp.mitm.KeyStoreFileCertificateSource
 
load() - Method in class net.lightbody.bmp.mitm.PemFileCertificateSource
 
load() - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator
 
loadKeyStore(File, String, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
loadKeyStore(File, String, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
Loads the KeyStore from the specified InputStream.
loadKeyStore(File, String, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Loads a Java KeyStore object from a file.
locality(String) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 

M

messageDigest(String) - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator.Builder
The message digest that will be used when self-signing the root certificates.
MitmConstants - Class in net.lightbody.bmp.mitm.util
Default values for basic MITM properties.
MitmConstants() - Constructor for class net.lightbody.bmp.mitm.util.MitmConstants
 
MitmException - Exception in net.lightbody.bmp.mitm.exception
Indicates a general problem occurred while attempting to man-in-the-middle communications between the client and the upstream server.
MitmException() - Constructor for exception net.lightbody.bmp.mitm.exception.MitmException
 
MitmException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.MitmException
 
MitmException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.MitmException
 
MitmException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.MitmException
 

N

net.lightbody.bmp.mitm - package net.lightbody.bmp.mitm
 
net.lightbody.bmp.mitm.exception - package net.lightbody.bmp.mitm.exception
 
net.lightbody.bmp.mitm.keys - package net.lightbody.bmp.mitm.keys
 
net.lightbody.bmp.mitm.manager - package net.lightbody.bmp.mitm.manager
 
net.lightbody.bmp.mitm.stats - package net.lightbody.bmp.mitm.stats
 
net.lightbody.bmp.mitm.tools - package net.lightbody.bmp.mitm.tools
 
net.lightbody.bmp.mitm.trustmanager - package net.lightbody.bmp.mitm.trustmanager
 
net.lightbody.bmp.mitm.util - package net.lightbody.bmp.mitm.util
 
net.lightbody.bmp.util - package net.lightbody.bmp.util
 
notAfter(Date) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
notBefore(Date) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 

O

organization(String) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
organizationalUnit(String) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 

P

PemFileCertificateSource - Class in net.lightbody.bmp.mitm
Loads impersonation materials from two separate, PEM-encoded files: a CA root certificate and its corresponding private key.
PemFileCertificateSource(File, File, String) - Constructor for class net.lightbody.bmp.mitm.PemFileCertificateSource
Creates a CertificateAndKeySource that loads the certificate and private key from PEM files.

R

readPemStringFromFile(File) - Static method in class net.lightbody.bmp.mitm.util.EncryptionUtil
Convenience method to read PEM data from a file.
readSingleX509Certificate(String) - Static method in class net.lightbody.bmp.mitm.util.TrustUtil
Parses a single PEM-encoded X509 certificate into an X509Certificate.
readX509CertificatesFromPem(String) - Static method in class net.lightbody.bmp.mitm.util.TrustUtil
Parses a String containing zero or more PEM-encoded X509 certificates into an array of X509Certificate.
RootCertificateGenerator - Class in net.lightbody.bmp.mitm
A CertificateAndKeySource that dynamically generates a CA root certificate and private key.
RootCertificateGenerator(CertificateInfo, String, KeyGenerator, SecurityProviderTool) - Constructor for class net.lightbody.bmp.mitm.RootCertificateGenerator
 
RootCertificateGenerator.Builder - Class in net.lightbody.bmp.mitm
A Builder for RootCertificateGenerators.
rootCertificateSource(CertificateAndKeySource) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The source of the CA root certificate that will be used to sign the impersonated server certificates.
RSAKeyGenerator - Class in net.lightbody.bmp.mitm.keys
A KeyGenerator that creates RSA key pairs.
RSAKeyGenerator() - Constructor for class net.lightbody.bmp.mitm.keys.RSAKeyGenerator
Create a KeyGenerator that will create a 2048-bit RSA key pair.
RSAKeyGenerator(int) - Constructor for class net.lightbody.bmp.mitm.keys.RSAKeyGenerator
Create a KeyGenerator that will create an RSA key pair of the specified keySize.

S

saveKeyStore(File, KeyStore, String) - Method in class net.lightbody.bmp.mitm.tools.BouncyCastleSecurityProviderTool
 
saveKeyStore(File, KeyStore, String) - Method in class net.lightbody.bmp.mitm.tools.DefaultSecurityProviderTool
Exports the keyStore to the specified file.
saveKeyStore(File, KeyStore, String) - Method in interface net.lightbody.bmp.mitm.tools.SecurityProviderTool
Saves a Java KeyStore to a file, protecting it with the specified password.
savePrivateKeyAsPemFile(File, String) - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator
Saves the private key as PEM-encoded data to a file, using the specified password to encrypt the private key and the RootCertificateGenerator.DEFAULT_PEM_ENCRYPTION_ALGORITHM.
saveRootCertificateAndKey(String, File, String, String) - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator
Saves the generated certificate and private key as a file, using the specified password to protect the key store.
saveRootCertificateAsPemFile(File) - Method in class net.lightbody.bmp.mitm.RootCertificateGenerator
Saves the root certificate as PEM-encoded data to the specified file.
SecurityProviderTool - Interface in net.lightbody.bmp.mitm.tools
Generic interface for functionality provided by a Security Provider.
serverCiphers(Collection<String>) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The cipher suites allowed on connections to upstream servers.
serverKeyGenerator(KeyGenerator) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The KeyGenerator that will be used to generate the server public and private keys.
serverMessageDigest(String) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The message digest that will be used when signing server certificates with the root certificate's private key.
serverSslEngine() - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager
 
serverSslEngine(String, int) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager
 
SslContextInitializationException - Exception in net.lightbody.bmp.mitm.exception
Indicates an error occurred while attempting to create a new SSLContext.
SslContextInitializationException() - Constructor for exception net.lightbody.bmp.mitm.exception.SslContextInitializationException
 
SslContextInitializationException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.SslContextInitializationException
 
SslContextInitializationException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.SslContextInitializationException
 
SslContextInitializationException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.SslContextInitializationException
 
SslUtil - Class in net.lightbody.bmp.mitm.util
Utility for creating SSLContexts.
SslUtil() - Constructor for class net.lightbody.bmp.mitm.util.SslUtil
 
startsWithHttpOrHttps(String) - Static method in class net.lightbody.bmp.util.HttpUtil
Returns true if the string starts with http:// or https://.
state(String) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 
subjectAlternativeNames(List<String>) - Method in class net.lightbody.bmp.mitm.CertificateInfo
 

T

tm - Static variable in class net.lightbody.bmp.mitm.trustmanager.InsecureTrustManagerFactory
 
toString() - Method in class net.lightbody.bmp.mitm.keys.ECKeyGenerator
 
toString() - Method in class net.lightbody.bmp.mitm.keys.RSAKeyGenerator
 
trustAllServers(boolean) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
When true, no upstream certificate verification will be performed.
trustSource(TrustSource) - Method in class net.lightbody.bmp.mitm.manager.ImpersonatingMitmManager.Builder
The TrustSource that supplies the trusted root CAs used to validate upstream servers' certificates.
TrustSource - Class in net.lightbody.bmp.mitm
A source of trusted root certificate authorities.
TrustSource() - Constructor for class net.lightbody.bmp.mitm.TrustSource
Creates a TrustSource that contains no trusted certificates.
TrustSource(X509Certificate...) - Constructor for class net.lightbody.bmp.mitm.TrustSource
Creates a TrustSource that considers only the specified certificates as "trusted".
TrustSourceException - Exception in net.lightbody.bmp.mitm.exception
Indicates that an error occurred while attempting to create or populate a TrustSource.
TrustSourceException() - Constructor for exception net.lightbody.bmp.mitm.exception.TrustSourceException
 
TrustSourceException(String) - Constructor for exception net.lightbody.bmp.mitm.exception.TrustSourceException
 
TrustSourceException(String, Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.TrustSourceException
 
TrustSourceException(Throwable) - Constructor for exception net.lightbody.bmp.mitm.exception.TrustSourceException
 
TrustUtil - Class in net.lightbody.bmp.mitm.util
Utility class for interacting with the default trust stores on this JVM.
TrustUtil() - Constructor for class net.lightbody.bmp.mitm.util.TrustUtil
 

U

UncheckedIOException - Exception in net.lightbody.bmp.mitm.exception
A convenience exception that wraps checked IOExceptions.
UncheckedIOException(String, IOException) - Constructor for exception net.lightbody.bmp.mitm.exception.UncheckedIOException
 
UncheckedIOException(IOException) - Constructor for exception net.lightbody.bmp.mitm.exception.UncheckedIOException
 

W

writePemStringToFile(File, String) - Static method in class net.lightbody.bmp.mitm.util.EncryptionUtil
Convenience method to write PEM data to a file.
A B C D E F G H I J K L M N O P R S T U W 
Skip navigation links

Copyright © 2016. All Rights Reserved.