Package network.oxalis.test.dummy
Class DummyPkiModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- network.oxalis.test.dummy.DummyPkiModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class DummyPkiModule extends com.google.inject.AbstractModule
-
-
Constructor Summary
Constructors Constructor Description DummyPkiModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()protected X509CertificategetCertificate(KeyStore keyStore)protected KeyStoregetKeyStore()protected KeyStore.PrivateKeyEntrygetPrivateKey(PrivateKey privateKey, X509Certificate certificate)protected PrivateKeygetPrivateKeyEntry(KeyStore keyStore)protected AccessPointIdentifierprovideOurAccessPointIdentifier(X509Certificate certificate)-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configurein classcom.google.inject.AbstractModule
-
getPrivateKeyEntry
@Provides protected PrivateKey getPrivateKeyEntry(KeyStore keyStore) throws Exception
- Throws:
Exception
-
getCertificate
@Provides protected X509Certificate getCertificate(KeyStore keyStore) throws Exception
- Throws:
Exception
-
provideOurAccessPointIdentifier
@Provides protected AccessPointIdentifier provideOurAccessPointIdentifier(X509Certificate certificate)
-
getPrivateKey
@Provides protected KeyStore.PrivateKeyEntry getPrivateKey(PrivateKey privateKey, X509Certificate certificate) throws Exception
- Throws:
Exception
-
-