public class AutoCertificateAndKeySource extends Object implements net.lightbody.bmp.mitm.CertificateAndKeySource, Closeable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AutoCertificateAndKeySource.MemoryKeyStoreCertificateSource |
static class |
AutoCertificateAndKeySource.SerializableForm |
| Constructor and Description |
|---|
AutoCertificateAndKeySource(Path scratchDir) |
| Modifier and Type | Method and Description |
|---|---|
KeystoreInput |
acquireKeystoreInput() |
void |
close() |
AutoCertificateAndKeySource.SerializableForm |
createSerializableForm() |
protected AutoCertificateAndKeySource.MemoryKeyStoreCertificateSource |
generate(String keystorePassword) |
protected void |
keystoreBytesGenerated(com.google.common.io.ByteSource byteSource) |
protected void |
keystorePasswordGenerated(String password) |
net.lightbody.bmp.mitm.CertificateAndKey |
load() |
public AutoCertificateAndKeySource(Path scratchDir)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void keystorePasswordGenerated(String password)
public net.lightbody.bmp.mitm.CertificateAndKey load()
load in interface net.lightbody.bmp.mitm.CertificateAndKeySourcepublic AutoCertificateAndKeySource.SerializableForm createSerializableForm() throws IOException
IOExceptionprotected void keystoreBytesGenerated(com.google.common.io.ByteSource byteSource)
protected AutoCertificateAndKeySource.MemoryKeyStoreCertificateSource generate(String keystorePassword) throws IOException
IOExceptionpublic KeystoreInput acquireKeystoreInput()
Copyright © 2016–2018. All rights reserved.