Package pgp.wkd.test_suite
Class AbstractTestSuiteGenerator
- java.lang.Object
-
- pgp.wkd.test_suite.AbstractTestSuiteGenerator
-
- Direct Known Subclasses:
TestSuiteGenerator
public class AbstractTestSuiteGenerator extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceAbstractTestSuiteGenerator.DataSink
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringdomain
-
Constructor Summary
Constructors Constructor Description AbstractTestSuiteGenerator(java.lang.String domain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.bouncycastle.openpgp.PGPPublicKeyRingcertificate(java.lang.String userId)protected WkdDirectoryStructuredirectoryStructureForMethod(java.io.File directory, pgp.wkd.discovery.DiscoveryMethod method)protected org.bouncycastle.openpgp.PGPSecretKeyRingsecretKey(java.lang.String userId)protected voidwriteDataFor(java.lang.String mailAddress, WkdDirectoryStructure directory, AbstractTestSuiteGenerator.DataSink sink)
-
-
-
Method Detail
-
directoryStructureForMethod
protected WkdDirectoryStructure directoryStructureForMethod(java.io.File directory, pgp.wkd.discovery.DiscoveryMethod method)
-
secretKey
protected org.bouncycastle.openpgp.PGPSecretKeyRing secretKey(java.lang.String userId) throws org.bouncycastle.openpgp.PGPException, java.security.InvalidAlgorithmParameterException, java.security.NoSuchAlgorithmException- Throws:
org.bouncycastle.openpgp.PGPExceptionjava.security.InvalidAlgorithmParameterExceptionjava.security.NoSuchAlgorithmException
-
certificate
protected org.bouncycastle.openpgp.PGPPublicKeyRing certificate(java.lang.String userId) throws org.bouncycastle.openpgp.PGPException, java.security.InvalidAlgorithmParameterException, java.security.NoSuchAlgorithmException- Throws:
org.bouncycastle.openpgp.PGPExceptionjava.security.InvalidAlgorithmParameterExceptionjava.security.NoSuchAlgorithmException
-
writeDataFor
protected void writeDataFor(java.lang.String mailAddress, WkdDirectoryStructure directory, AbstractTestSuiteGenerator.DataSink sink) throws java.io.IOException- Throws:
java.io.IOException
-
-