org.wso2.carbon.identity.testutil
Class ReadCertStoreSampleUtil
- java.lang.Object
-
- org.wso2.carbon.identity.testutil.ReadCertStoreSampleUtil
public class ReadCertStoreSampleUtil extends Object
-
Constructor Summary
Constructors Constructor and Description ReadCertStoreSampleUtil()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static KeyStore
createKeyStore(Class clazz)
static KeyPair
getSampleKeyPair()
static PrivateKey
getSamplePrivateKey()
-
Method Detail
getSamplePrivateKey
public static PrivateKey getSamplePrivateKey() throws Exception
- Throws:
-
Exception
getSampleKeyPair
public static KeyPair getSampleKeyPair() throws CertificateException, NoSuchAlgorithmException, IOException, InvalidKeyException, KeyStoreException, NoSuchProviderException, SignatureException
Copyright © 2018 WSO2. All rights reserved.