Class ResourceFixtures
- java.lang.Object
-
- org.codehaus.mojo.keytool.requests.ResourceFixtures
-
public class ResourceFixtures extends java.lang.ObjectInput resources fixtures.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.FileworkingDirectory
-
Constructor Summary
Constructors Constructor Description ResourceFixtures(java.io.File workingDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcopyURLToFile(java.net.URL url, java.io.File dest)protected java.net.URLgetCertificateRequestURL(java.lang.String prefix)protected java.net.URLgetCertificateURL(java.lang.String prefix)protected java.net.URLgetKeyStoreURL(java.lang.String prefix)java.io.FileoutputFile()java.io.FilesimpleCertificate()java.io.FilesimpleCertificateRequest()java.io.FilesimpleDestKeyStoreFile()java.io.FilesimpleDestKeyStoreFile(java.lang.String name)java.io.FilesimpleKeyStore()java.io.FilesimpleKeyStore(boolean copy)java.io.FilesimpleKeyStore(java.lang.String name)java.io.FilesimpleKeyStore(java.lang.String name, boolean copy)
-
-
-
Method Detail
-
simpleDestKeyStoreFile
public java.io.File simpleDestKeyStoreFile(java.lang.String name)
-
simpleDestKeyStoreFile
public java.io.File simpleDestKeyStoreFile()
-
simpleKeyStore
public java.io.File simpleKeyStore(java.lang.String name, boolean copy) throws java.io.IOException- Throws:
java.io.IOException
-
simpleKeyStore
public java.io.File simpleKeyStore() throws java.io.IOException- Throws:
java.io.IOException
-
simpleKeyStore
public java.io.File simpleKeyStore(boolean copy) throws java.io.IOException- Throws:
java.io.IOException
-
simpleKeyStore
public java.io.File simpleKeyStore(java.lang.String name) throws java.io.IOException- Throws:
java.io.IOException
-
simpleCertificateRequest
public java.io.File simpleCertificateRequest() throws java.io.IOException- Throws:
java.io.IOException
-
simpleCertificate
public java.io.File simpleCertificate() throws java.io.IOException- Throws:
java.io.IOException
-
outputFile
public java.io.File outputFile()
-
getKeyStoreURL
protected java.net.URL getKeyStoreURL(java.lang.String prefix)
-
getCertificateRequestURL
protected java.net.URL getCertificateRequestURL(java.lang.String prefix)
-
getCertificateURL
protected java.net.URL getCertificateURL(java.lang.String prefix)
-
copyURLToFile
protected void copyURLToFile(java.net.URL url, java.io.File dest) throws java.io.IOException- Throws:
java.io.IOException
-
-