A B C D E F G H I J K L M N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(TrustSource) - Method in class com.browserup.bup.mitm.TrustSource
-
Returns a new TrustSource containing the same trusted CAs as this TrustSource, plus the trusted CAs in the specified TrustSource.
- add(File) - Method in class com.browserup.bup.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(String) - Method in class com.browserup.bup.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 com.browserup.bup.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 com.browserup.bup.mitm.TrustSource
-
Returns a new TrustSource containing the same trusted CAs as this TrustSource, plus all trusted certificate entries from the specified trustStore.
B
- BouncyCastleSecurityProviderTool - Class in com.browserup.bup.mitm.tools
- BouncyCastleSecurityProviderTool() - Constructor for class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- build() - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
- build() - Method in class com.browserup.bup.mitm.RootCertificateGenerator.Builder
- builder() - Static method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager
-
Convenience method to return a new
ImpersonatingMitmManager.Builderinstance default default values: aRootCertificateGeneratorthat dynamically generates an RSA root certificate and RSA server certificates. - builder() - Static method in class com.browserup.bup.mitm.RootCertificateGenerator
-
Convenience method to return a new
RootCertificateGenerator.Builderinstance. - Builder() - Constructor for class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
- Builder() - Constructor for class com.browserup.bup.mitm.RootCertificateGenerator.Builder
- builderWithECC() - Static method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager
-
Convenience method to return a new
ImpersonatingMitmManager.Builderinstance that will dynamically create EC root certificates and EC server certificates, but otherwise uses default values. - builtinTrustSource() - Static method in class com.browserup.bup.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 com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The concurrency level for the SSLContext cache.
- cacheExpirationInterval(long, TimeUnit) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The length of time SSLContexts with forged certificates will be kept in the cache.
- CertificateAndKey - Class in com.browserup.bup.mitm
-
A simple container for an X.509 certificate and its corresponding private key.
- CertificateAndKey(X509Certificate, PrivateKey) - Constructor for class com.browserup.bup.mitm.CertificateAndKey
- CertificateAndKeySource - Interface in com.browserup.bup.mitm
-
A CertificateAndKeySource generates
CertificateAndKeys, i.e. - certificateCreated(long, long) - Method in class com.browserup.bup.mitm.stats.CertificateGenerationStatistics
-
Records a certificate generation that started at startTimeMs and completed at finishTimeMs.
- CertificateCreationException - Exception in com.browserup.bup.mitm.exception
-
Indicates a problem creating a certificate (server or CA).
- CertificateCreationException() - Constructor for exception com.browserup.bup.mitm.exception.CertificateCreationException
- CertificateCreationException(String) - Constructor for exception com.browserup.bup.mitm.exception.CertificateCreationException
- CertificateCreationException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.CertificateCreationException
- CertificateCreationException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.CertificateCreationException
- CertificateGenerationStatistics - Class in com.browserup.bup.mitm.stats
-
Tracks basic certificate generation statistics.
- CertificateGenerationStatistics() - Constructor for class com.browserup.bup.mitm.stats.CertificateGenerationStatistics
- certificateInfo(CertificateInfo) - Method in class com.browserup.bup.mitm.RootCertificateGenerator.Builder
-
Certificate info to use to generate the root certificate.
- CertificateInfo - Class in com.browserup.bup.mitm
-
Container for X.509 Certificate information.
- CertificateInfo() - Constructor for class com.browserup.bup.mitm.CertificateInfo
- certificateInfoGenerator(CertificateInfoGenerator) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The
CertificateInfoGeneratorthat will populateCertificateInfoobjects containing certificate data for forced X509Certificates. - CertificateInfoGenerator - Interface in com.browserup.bup.mitm
-
A functional interface to allow customization of the certificates generated by the
ImpersonatingMitmManager. - CertificateSourceException - Exception in com.browserup.bup.mitm.exception
-
Indicates that a
CertificateAndKeySourceencountered an error while loading a certificate and/or private key from a KeyStore, PEM file, or other source. - CertificateSourceException() - Constructor for exception com.browserup.bup.mitm.exception.CertificateSourceException
- CertificateSourceException(String) - Constructor for exception com.browserup.bup.mitm.exception.CertificateSourceException
- CertificateSourceException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.CertificateSourceException
- CertificateSourceException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.CertificateSourceException
- certificateTool(SecurityProviderTool) - Method in class com.browserup.bup.mitm.KeyStoreFileCertificateSource
-
Override the default
SecurityProviderToolused to load the KeyStore. - certificateTool(SecurityProviderTool) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The
SecurityProviderToolimplementation that will be used to generate certificates. - certificateTool(SecurityProviderTool) - Method in class com.browserup.bup.mitm.PemFileCertificateSource
-
Override the default
SecurityProviderToolused to load the PEM files. - certificateTool(SecurityProviderTool) - Method in class com.browserup.bup.mitm.RootCertificateGenerator.Builder
-
The
SecurityProviderToolimplementation that will be used to generate certificates. - checkClientTrusted(X509Certificate[], String) - Method in class com.browserup.bup.mitm.trustmanager.InsecureExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class com.browserup.bup.mitm.trustmanager.InsecureExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class com.browserup.bup.mitm.trustmanager.InsecureExtendedTrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class com.browserup.bup.mitm.trustmanager.InsecureExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class com.browserup.bup.mitm.trustmanager.InsecureExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class com.browserup.bup.mitm.trustmanager.InsecureExtendedTrustManager
- classpathResourceToString(String, Charset) - Static method in class com.browserup.bup.util.ClasspathResourceUtil
-
Retrieves a classpath resource using the
ClasspathResourceUtilclassloader and converts it to a String using the specified character set. - ClasspathResourceUtil - Class in com.browserup.bup.util
-
Utility class for dealing with classpath resources.
- ClasspathResourceUtil() - Constructor for class com.browserup.bup.util.ClasspathResourceUtil
- clientCiphers(Collection<String>) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The cipher suites allowed on client connections to the proxy.
- clientSslEngineFor(HttpRequest, SSLSession) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager
- com.browserup.bup.mitm - package com.browserup.bup.mitm
- com.browserup.bup.mitm.exception - package com.browserup.bup.mitm.exception
- com.browserup.bup.mitm.keys - package com.browserup.bup.mitm.keys
- com.browserup.bup.mitm.manager - package com.browserup.bup.mitm.manager
- com.browserup.bup.mitm.stats - package com.browserup.bup.mitm.stats
- com.browserup.bup.mitm.tools - package com.browserup.bup.mitm.tools
- com.browserup.bup.mitm.trustmanager - package com.browserup.bup.mitm.trustmanager
- com.browserup.bup.mitm.util - package com.browserup.bup.mitm.util
- com.browserup.bup.util - package com.browserup.bup.util
- commonName(String) - Method in class com.browserup.bup.mitm.CertificateInfo
- countryCode(String) - Method in class com.browserup.bup.mitm.CertificateInfo
- createCARootCertificate(CertificateInfo, KeyPair, String) - Method in class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- createCARootCertificate(CertificateInfo, KeyPair, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- createCARootCertificate(CertificateInfo, KeyPair, String) - Method in interface com.browserup.bup.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 com.browserup.bup.mitm.util.KeyStoreUtil
-
Creates and initializes an empty KeyStore using the specified keyStoreType.
- createRootCertificateKeyStore(String, CertificateAndKey, String, String) - Method in class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- createRootCertificateKeyStore(String, CertificateAndKey, String, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- createRootCertificateKeyStore(String, CertificateAndKey, String, String) - Method in interface com.browserup.bup.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 com.browserup.bup.mitm.util.KeyStoreUtil
-
Creates a new KeyStore containing the specified root certificate and private key.
- createServerCertificate(CertificateInfo, X509Certificate, PrivateKey, KeyPair, String) - Method in class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- createServerCertificate(CertificateInfo, X509Certificate, PrivateKey, KeyPair, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- createServerCertificate(CertificateInfo, X509Certificate, PrivateKey, KeyPair, String) - Method in interface com.browserup.bup.mitm.tools.SecurityProviderTool
-
Creates a new server X.509 certificate using the serverKeyPair.
- createServerKeyStore(String, CertificateAndKey, X509Certificate, String, String) - Method in class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- createServerKeyStore(String, CertificateAndKey, X509Certificate, String, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- createServerKeyStore(String, CertificateAndKey, X509Certificate, String, String) - Method in interface com.browserup.bup.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 com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- decodePemEncodedCertificate(Reader) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- decodePemEncodedCertificate(Reader) - Method in interface com.browserup.bup.mitm.tools.SecurityProviderTool
-
Decodes a PEM-encoded X.509 Certificate into a
X509Certificate. - decodePemEncodedPrivateKey(Reader, String) - Method in class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- decodePemEncodedPrivateKey(Reader, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- decodePemEncodedPrivateKey(Reader, String) - Method in interface com.browserup.bup.mitm.tools.SecurityProviderTool
-
Decodes a PEM-encoded private key into a
PrivateKey. - DEFAULT_EXTENDED_TRUST_MANAGER - Static variable in class com.browserup.bup.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 com.browserup.bup.mitm.util.MitmConstants
-
The default
KeyStoretype to use when creating KeyStores (e.g. - DEFAULT_MESSAGE_DIGEST - Static variable in class com.browserup.bup.mitm.util.MitmConstants
-
The default message digest to use when signing certificates (CA or server).
- DefaultSecurityProviderTool - Class in com.browserup.bup.mitm.tools
-
A
SecurityProviderToolimplementation 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 com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- defaultTrustSource() - Static method in class com.browserup.bup.mitm.TrustSource
-
Returns a TrustSource containing the default trusted CAs.
E
- ECKeyGenerator - Class in com.browserup.bup.mitm.keys
-
A
KeyGeneratorthat creates Elliptic Curve key pairs. - ECKeyGenerator() - Constructor for class com.browserup.bup.mitm.keys.ECKeyGenerator
-
Create a
KeyGeneratorthat will create EC key pairs using the secp256r1 named curve (NIST P-256) supported by modern web browsers. - ECKeyGenerator(String) - Constructor for class com.browserup.bup.mitm.keys.ECKeyGenerator
-
Create a
KeyGeneratorthat will create EC key pairs using the specified named curve. - email(String) - Method in class com.browserup.bup.mitm.CertificateInfo
- empty() - Static method in class com.browserup.bup.mitm.TrustSource
-
Returns a TrustSource that contains no trusted CAs.
- EMPTY_CERTIFICATE_ARRAY - Static variable in class com.browserup.bup.mitm.util.TrustUtil
-
Empty X509 certificate array, useful for indicating an empty root CA trust store.
- encodeCertificateAsPem(Certificate) - Method in class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- encodeCertificateAsPem(Certificate) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- encodeCertificateAsPem(Certificate) - Method in interface com.browserup.bup.mitm.tools.SecurityProviderTool
-
Encodes a certificate in PEM format.
- encodePrivateKeyAsPem(String) - Method in class com.browserup.bup.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 com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- encodePrivateKeyAsPem(PrivateKey, String, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- encodePrivateKeyAsPem(PrivateKey, String, String) - Method in interface com.browserup.bup.mitm.tools.SecurityProviderTool
-
Encodes a private key in PEM format, encrypting it with the specified password.
- encodeRootCertificateAsPem() - Method in class com.browserup.bup.mitm.RootCertificateGenerator
-
Returns the generated root certificate as a PEM-encoded String.
- EncryptionUtil - Class in com.browserup.bup.mitm.util
-
A collection of simple JCA-related utilities.
- EncryptionUtil() - Constructor for class com.browserup.bup.mitm.util.EncryptionUtil
- engineGetTrustManagers() - Method in class com.browserup.bup.mitm.trustmanager.InsecureTrustManagerFactory
- engineInit(KeyStore) - Method in class com.browserup.bup.mitm.trustmanager.InsecureTrustManagerFactory
- engineInit(ManagerFactoryParameters) - Method in class com.browserup.bup.mitm.trustmanager.InsecureTrustManagerFactory
- ExistingCertificateSource - Class in com.browserup.bup.mitm
-
A simple adapter that produces a
CertificateAndKeyfrom existingX509CertificateandPrivateKeyjava objects. - ExistingCertificateSource(X509Certificate, PrivateKey) - Constructor for class com.browserup.bup.mitm.ExistingCertificateSource
- ExportException - Exception in com.browserup.bup.mitm.exception
-
Indicates an error occurred while exporting/serializing a certificate, private key, KeyStore, etc.
- ExportException() - Constructor for exception com.browserup.bup.mitm.exception.ExportException
- ExportException(String) - Constructor for exception com.browserup.bup.mitm.exception.ExportException
- ExportException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.ExportException
- ExportException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.ExportException
- extractTrustedCertificateEntries(KeyStore) - Static method in class com.browserup.bup.mitm.util.TrustUtil
-
Extracts the
KeyStore.TrustedCertificateEntrys from the specified KeyStore.
F
- firstCertificateGeneratedTimestamp() - Method in class com.browserup.bup.mitm.stats.CertificateGenerationStatistics
-
Returns the timestamp (ms since epoch) when the first certificate was generated, or 0 if none have been generated.
G
- generate() - Method in class com.browserup.bup.mitm.keys.ECKeyGenerator
- generate() - Method in interface com.browserup.bup.mitm.keys.KeyGenerator
-
Generates a new public/private key pair.
- generate() - Method in class com.browserup.bup.mitm.keys.RSAKeyGenerator
- generate(List<String>, X509Certificate) - Method in interface com.browserup.bup.mitm.CertificateInfoGenerator
-
Generate a certificate for the specified hostnames, optionally using parameters from the originalCertificate.
- generate(List<String>, X509Certificate) - Method in class com.browserup.bup.mitm.HostnameCertificateInfoGenerator
- getAcceptedIssuers() - Method in class com.browserup.bup.mitm.trustmanager.InsecureExtendedTrustManager
- getAvgCertificateGenerationTimeMs() - Method in class com.browserup.bup.mitm.stats.CertificateGenerationStatistics
-
Returns the average number of ms per certificate generated.
- getBuiltInCipherList() - Static method in class com.browserup.bup.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 com.browserup.bup.mitm.util.TrustUtil
-
Returns the built-in list of trusted CAs.
- getCertificate() - Method in class com.browserup.bup.mitm.CertificateAndKey
- getCertificatesGenerated() - Method in class com.browserup.bup.mitm.stats.CertificateGenerationStatistics
-
Returns the total number of certificates created.
- getCommonName() - Method in class com.browserup.bup.mitm.CertificateInfo
- getCountryCode() - Method in class com.browserup.bup.mitm.CertificateInfo
- getDefaultCipherList() - Static method in class com.browserup.bup.mitm.util.SslUtil
-
Returns a reasonable default cipher list for new client and server SSL connections.
- getDefaultJavaTrustManager() - Static method in class com.browserup.bup.mitm.util.TrustUtil
-
Returns a new instance of the default TrustManager for this JVM.
- getDigitalSignatureType(Key) - Static method in class com.browserup.bup.mitm.util.EncryptionUtil
-
Returns the type of digital signature used with the specified signing key.
- getEmail() - Method in class com.browserup.bup.mitm.CertificateInfo
- getEnabledJdkCipherSuites() - Static method in class com.browserup.bup.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 com.browserup.bup.util.HttpUtil
-
Gets the host and port from the specified request.
- getHostAndPortFromUri(String) - Static method in class com.browserup.bup.util.HttpUtil
-
Retrieves the host and port from the specified URI.
- getHostFromRequest(HttpRequest) - Static method in class com.browserup.bup.util.HttpUtil
-
Identify the host of an HTTP request.
- getJavaTrustedCAs() - Static method in class com.browserup.bup.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 com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- getKeyManagers(KeyStore, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
- getKeyManagers(KeyStore, String) - Method in interface com.browserup.bup.mitm.tools.SecurityProviderTool
-
Retrieve the KeyManagers for the specified KeyStore.
- getKeyManagers(KeyStore, String, String, String) - Static method in class com.browserup.bup.mitm.util.KeyStoreUtil
-
Retrieve the KeyManagers for the specified KeyStore.
- getLocality() - Method in class com.browserup.bup.mitm.CertificateInfo
- getNotAfter() - Method in class com.browserup.bup.mitm.CertificateInfo
- getNotAfter() - Method in class com.browserup.bup.mitm.HostnameCertificateInfoGenerator
-
Returns the default Not After date for impersonated certificates.
- getNotBefore() - Method in class com.browserup.bup.mitm.CertificateInfo
- getNotBefore() - Method in class com.browserup.bup.mitm.HostnameCertificateInfoGenerator
-
Returns the default Not Before date for impersonated certificates.
- getOrganization() - Method in class com.browserup.bup.mitm.CertificateInfo
- getOrganizationalUnit() - Method in class com.browserup.bup.mitm.CertificateInfo
- getPrivateKey() - Method in class com.browserup.bup.mitm.CertificateAndKey
- getRandomBigInteger(int) - Static method in class com.browserup.bup.mitm.util.EncryptionUtil
-
Creates a random BigInteger greater than 0 with the specified number of bits.
- getServerCertificate(SSLSession) - Static method in class com.browserup.bup.mitm.util.SslUtil
-
Returns the X509Certificate for the server this session is connected to.
- getSignatureAlgorithm(String, Key) - Static method in class com.browserup.bup.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 com.browserup.bup.mitm.CertificateInfo
- getStatistics() - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager
-
Returns basic certificate generation statistics for this MitmManager.
- getSubjectAlternativeNames() - Method in class com.browserup.bup.mitm.CertificateInfo
- getTotalCertificateGenerationTimeMs() - Method in class com.browserup.bup.mitm.stats.CertificateGenerationStatistics
-
Returns the total number of ms spent generating all certificates.
- getTrustedCAs() - Method in class com.browserup.bup.mitm.TrustSource
-
Returns the X509 certificates considered "trusted" by this TrustSource.
- getUpstreamServerSslContext(Collection<String>, TrustSource) - Static method in class com.browserup.bup.mitm.util.SslUtil
-
Creates a netty SslContext for use when connecting to upstream servers.
H
- HostnameCertificateInfoGenerator - Class in com.browserup.bup.mitm
-
A
CertificateInfoGeneratorthat uses only a hostname to populate a newCertificateInfo. - HostnameCertificateInfoGenerator() - Constructor for class com.browserup.bup.mitm.HostnameCertificateInfoGenerator
- HttpUtil - Class in com.browserup.bup.util
-
Contains utility methods for netty
HttpRequestand related objects. - HttpUtil() - Constructor for class com.browserup.bup.util.HttpUtil
I
- ImpersonatingMitmManager - Class in com.browserup.bup.mitm.manager
-
An
MitmManagerthat 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 com.browserup.bup.mitm.manager.ImpersonatingMitmManager
-
Creates a new ImpersonatingMitmManager.
- ImpersonatingMitmManager.Builder - Class in com.browserup.bup.mitm.manager
-
A Builder for
ImpersonatingMitmManagers. - ImportException - Exception in com.browserup.bup.mitm.exception
-
Indicates that an error occurred while importing a certificate, private key, or KeyStore.
- ImportException() - Constructor for exception com.browserup.bup.mitm.exception.ImportException
- ImportException(String) - Constructor for exception com.browserup.bup.mitm.exception.ImportException
- ImportException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.ImportException
- ImportException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.ImportException
- InsecureExtendedTrustManager - Class in com.browserup.bup.mitm.trustmanager
-
An
X509ExtendedTrustManagerandX509TrustManagerthat will accept all server and client certificates. - InsecureExtendedTrustManager() - Constructor for class com.browserup.bup.mitm.trustmanager.InsecureExtendedTrustManager
- InsecureTrustManagerFactory - Class in com.browserup.bup.mitm.trustmanager
-
Note: This is a modified version of
InsecureTrustManagerFactoryfrom Netty 4.0.36. - InsecureTrustManagerFactory() - Constructor for class com.browserup.bup.mitm.trustmanager.InsecureTrustManagerFactory
- INSTANCE - Static variable in class com.browserup.bup.mitm.trustmanager.InsecureTrustManagerFactory
- isEcKey(Key) - Static method in class com.browserup.bup.mitm.util.EncryptionUtil
-
Returns true if the key is an elliptic curve public or private key.
- isRsaKey(Key) - Static method in class com.browserup.bup.mitm.util.EncryptionUtil
-
Returns true if the key is an RSA public or private key.
- isUnlimitedStrengthAllowed() - Static method in class com.browserup.bup.mitm.util.EncryptionUtil
-
Determines if unlimited-strength cryptography is allowed, i.e.
J
- javaTrustSource() - Static method in class com.browserup.bup.mitm.TrustSource
-
Returns a TrustSource containing the default CAs trusted by this JVM.
K
- keyGenerator(KeyGenerator) - Method in class com.browserup.bup.mitm.RootCertificateGenerator.Builder
-
The
KeyGeneratorthat will be used to generate the root certificate's public and private keys. - KeyGenerator - Interface in com.browserup.bup.mitm.keys
-
A functional interface for key pair generators.
- KeyGeneratorException - Exception in com.browserup.bup.mitm.exception
-
Indicates an exception occurred while generating a key pair.
- KeyGeneratorException() - Constructor for exception com.browserup.bup.mitm.exception.KeyGeneratorException
- KeyGeneratorException(String) - Constructor for exception com.browserup.bup.mitm.exception.KeyGeneratorException
- KeyGeneratorException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.KeyGeneratorException
- KeyGeneratorException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.KeyGeneratorException
- KeyStoreAccessException - Exception in com.browserup.bup.mitm.exception
-
Indicates an error occurred while accessing a java KeyStore.
- KeyStoreAccessException() - Constructor for exception com.browserup.bup.mitm.exception.KeyStoreAccessException
- KeyStoreAccessException(String) - Constructor for exception com.browserup.bup.mitm.exception.KeyStoreAccessException
- KeyStoreAccessException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.KeyStoreAccessException
- KeyStoreAccessException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.KeyStoreAccessException
- KeyStoreCertificateSource - Class in com.browserup.bup.mitm
-
A
CertificateAndKeySourcethat loads the root certificate and private key from a Java KeyStore. - KeyStoreCertificateSource(KeyStore, String, String) - Constructor for class com.browserup.bup.mitm.KeyStoreCertificateSource
- KeyStoreFileCertificateSource - Class in com.browserup.bup.mitm
-
Loads a KeyStore from a file or classpath resource.
- KeyStoreFileCertificateSource(String, File, String, String) - Constructor for class com.browserup.bup.mitm.KeyStoreFileCertificateSource
-
Creates a
CertificateAndKeySourcethat loads an existingKeyStorefrom a classpath resource. - KeyStoreFileCertificateSource(String, String, String, String) - Constructor for class com.browserup.bup.mitm.KeyStoreFileCertificateSource
-
Creates a
CertificateAndKeySourcethat loads an existingKeyStorefrom a classpath resource. - KeyStoreUtil - Class in com.browserup.bup.mitm.util
-
Utility for loading, saving, and manipulating
KeyStores. - KeyStoreUtil() - Constructor for class com.browserup.bup.mitm.util.KeyStoreUtil
L
- load() - Method in interface com.browserup.bup.mitm.CertificateAndKeySource
-
Loads a certificate and its corresponding private key.
- load() - Method in class com.browserup.bup.mitm.ExistingCertificateSource
- load() - Method in class com.browserup.bup.mitm.KeyStoreCertificateSource
- load() - Method in class com.browserup.bup.mitm.KeyStoreFileCertificateSource
- load() - Method in class com.browserup.bup.mitm.PemFileCertificateSource
- load() - Method in class com.browserup.bup.mitm.RootCertificateGenerator
- loadKeyStore(File, String, String) - Method in class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- loadKeyStore(File, String, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
-
Loads the KeyStore from the specified InputStream.
- loadKeyStore(File, String, String) - Method in interface com.browserup.bup.mitm.tools.SecurityProviderTool
-
Loads a Java KeyStore object from a file.
- locality(String) - Method in class com.browserup.bup.mitm.CertificateInfo
M
- messageDigest(String) - Method in class com.browserup.bup.mitm.RootCertificateGenerator.Builder
-
The message digest that will be used when self-signing the root certificates.
- MitmConstants - Class in com.browserup.bup.mitm.util
-
Default values for basic MITM properties.
- MitmConstants() - Constructor for class com.browserup.bup.mitm.util.MitmConstants
- MitmException - Exception in com.browserup.bup.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 com.browserup.bup.mitm.exception.MitmException
- MitmException(String) - Constructor for exception com.browserup.bup.mitm.exception.MitmException
- MitmException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.MitmException
- MitmException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.MitmException
N
- notAfter(Instant) - Method in class com.browserup.bup.mitm.CertificateInfo
- notBefore(Instant) - Method in class com.browserup.bup.mitm.CertificateInfo
O
- organization(String) - Method in class com.browserup.bup.mitm.CertificateInfo
- organizationalUnit(String) - Method in class com.browserup.bup.mitm.CertificateInfo
P
- PemFileCertificateSource - Class in com.browserup.bup.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 com.browserup.bup.mitm.PemFileCertificateSource
-
Creates a
CertificateAndKeySourcethat loads the certificate and private key from PEM files.
R
- readPemStringFromFile(File) - Static method in class com.browserup.bup.mitm.util.EncryptionUtil
-
Convenience method to read PEM data from a file.
- readSingleX509Certificate(String) - Static method in class com.browserup.bup.mitm.util.TrustUtil
-
Parses a single PEM-encoded X509 certificate into an
X509Certificate. - readX509CertificatesFromPem(String) - Static method in class com.browserup.bup.mitm.util.TrustUtil
-
Parses a String containing zero or more PEM-encoded X509 certificates into an array of
X509Certificate. - RootCertificateGenerator - Class in com.browserup.bup.mitm
-
A
CertificateAndKeySourcethat dynamically generates a CA root certificate and private key. - RootCertificateGenerator(CertificateInfo, String, KeyGenerator, SecurityProviderTool) - Constructor for class com.browserup.bup.mitm.RootCertificateGenerator
- RootCertificateGenerator.Builder - Class in com.browserup.bup.mitm
-
A Builder for
RootCertificateGenerators. - rootCertificateSource(CertificateAndKeySource) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The source of the CA root certificate that will be used to sign the impersonated server certificates.
- RSAKeyGenerator - Class in com.browserup.bup.mitm.keys
-
A
KeyGeneratorthat creates RSA key pairs. - RSAKeyGenerator() - Constructor for class com.browserup.bup.mitm.keys.RSAKeyGenerator
-
Create a
KeyGeneratorthat will create a 2048-bit RSA key pair. - RSAKeyGenerator(int) - Constructor for class com.browserup.bup.mitm.keys.RSAKeyGenerator
-
Create a
KeyGeneratorthat will create an RSA key pair of the specified keySize.
S
- saveKeyStore(File, KeyStore, String) - Method in class com.browserup.bup.mitm.tools.BouncyCastleSecurityProviderTool
- saveKeyStore(File, KeyStore, String) - Method in class com.browserup.bup.mitm.tools.DefaultSecurityProviderTool
-
Exports the keyStore to the specified file.
- saveKeyStore(File, KeyStore, String) - Method in interface com.browserup.bup.mitm.tools.SecurityProviderTool
-
Saves a Java KeyStore to a file, protecting it with the specified password.
- savePrivateKeyAsPemFile(File, String) - Method in class com.browserup.bup.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 com.browserup.bup.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 com.browserup.bup.mitm.RootCertificateGenerator
-
Saves the root certificate as PEM-encoded data to the specified file.
- SecurityProviderTool - Interface in com.browserup.bup.mitm.tools
-
Generic interface for functionality provided by a Security Provider.
- serverCiphers(Collection<String>) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The cipher suites allowed on connections to upstream servers.
- serverKeyGenerator(KeyGenerator) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The
KeyGeneratorthat will be used to generate the server public and private keys. - serverMessageDigest(String) - Method in class com.browserup.bup.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 com.browserup.bup.mitm.manager.ImpersonatingMitmManager
- serverSslEngine(String, int) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager
- SslContextInitializationException - Exception in com.browserup.bup.mitm.exception
-
Indicates an error occurred while attempting to create a new
SSLContext. - SslContextInitializationException() - Constructor for exception com.browserup.bup.mitm.exception.SslContextInitializationException
- SslContextInitializationException(String) - Constructor for exception com.browserup.bup.mitm.exception.SslContextInitializationException
- SslContextInitializationException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.SslContextInitializationException
- SslContextInitializationException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.SslContextInitializationException
- SslUtil - Class in com.browserup.bup.mitm.util
-
Utility for creating SSLContexts.
- SslUtil() - Constructor for class com.browserup.bup.mitm.util.SslUtil
- startsWithHttpOrHttps(String) - Static method in class com.browserup.bup.util.HttpUtil
-
Returns true if the string starts with http:// or https://.
- state(String) - Method in class com.browserup.bup.mitm.CertificateInfo
- subjectAlternativeNames(List<String>) - Method in class com.browserup.bup.mitm.CertificateInfo
T
- tm - Static variable in class com.browserup.bup.mitm.trustmanager.InsecureTrustManagerFactory
- toString() - Method in class com.browserup.bup.mitm.keys.ECKeyGenerator
- toString() - Method in class com.browserup.bup.mitm.keys.RSAKeyGenerator
- trustAllServers(boolean) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
When true, no upstream certificate verification will be performed.
- trustSource(TrustSource) - Method in class com.browserup.bup.mitm.manager.ImpersonatingMitmManager.Builder
-
The TrustSource that supplies the trusted root CAs used to validate upstream servers' certificates.
- TrustSource - Class in com.browserup.bup.mitm
-
A source of trusted root certificate authorities.
- TrustSource() - Constructor for class com.browserup.bup.mitm.TrustSource
-
Creates a TrustSource that contains no trusted certificates.
- TrustSource(X509Certificate...) - Constructor for class com.browserup.bup.mitm.TrustSource
-
Creates a TrustSource that considers only the specified certificates as "trusted".
- TrustSourceException - Exception in com.browserup.bup.mitm.exception
-
Indicates that an error occurred while attempting to create or populate a
TrustSource. - TrustSourceException() - Constructor for exception com.browserup.bup.mitm.exception.TrustSourceException
- TrustSourceException(String) - Constructor for exception com.browserup.bup.mitm.exception.TrustSourceException
- TrustSourceException(String, Throwable) - Constructor for exception com.browserup.bup.mitm.exception.TrustSourceException
- TrustSourceException(Throwable) - Constructor for exception com.browserup.bup.mitm.exception.TrustSourceException
- TrustUtil - Class in com.browserup.bup.mitm.util
-
Utility class for interacting with the default trust stores on this JVM.
- TrustUtil() - Constructor for class com.browserup.bup.mitm.util.TrustUtil
U
- UncheckedIOException - Exception in com.browserup.bup.mitm.exception
-
A convenience exception that wraps checked
IOExceptions. - UncheckedIOException(IOException) - Constructor for exception com.browserup.bup.mitm.exception.UncheckedIOException
- UncheckedIOException(String, IOException) - Constructor for exception com.browserup.bup.mitm.exception.UncheckedIOException
W
- writePemStringToFile(File, String) - Static method in class com.browserup.bup.mitm.util.EncryptionUtil
-
Convenience method to write PEM data to a file.
All Classes All Packages