Package org.nuxeo.runtime.test
Class TemporaryKeyStore.Builder
java.lang.Object
org.nuxeo.runtime.test.TemporaryKeyStore.Builder
- Enclosing class:
- TemporaryKeyStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected final List<TemporaryKeyStore.KeyStoreEntry<Key>>
protected final List<TemporaryKeyStore.KeyStoreEntry<KeyPair>>
protected final String
protected final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected X509Certificate
generateCertificate
(String dnName, KeyPair keyPair, String sigAlgName) generateKey
(String alias, String password, String algorithm, int keySize) generateKeyPair
(String alias, String password)
-
Field Details
-
keyStoreType
-
keyStorePassword
-
keyEntries
-
keyPairEntries
-
-
Constructor Details
-
Builder
-
-
Method Details
-
generateKey
public TemporaryKeyStore.Builder generateKey(String alias, String password, String algorithm, int keySize) -
generateKeyPair
-
generateKeyPair
-
generateCertificate
protected X509Certificate generateCertificate(String dnName, KeyPair keyPair, String sigAlgName) throws GeneralSecurityException, org.bouncycastle.operator.OperatorCreationException - Throws:
GeneralSecurityException
org.bouncycastle.operator.OperatorCreationException
-
build
-