Class RsaKeyStoreHelperTest
java.lang.Object
de.hybris.platform.oauth2.jwt.util.RsaKeyStoreHelperTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetUp()voidTest method forRsaKeyStoreHelper.getKeyStore(java.io.InputStream, java.lang.String).voidTest method forRsaKeyStoreHelper.getKeyStore(java.io.InputStream, java.lang.String).voidvoidvoidvoid
-
Constructor Details
-
RsaKeyStoreHelperTest
public RsaKeyStoreHelperTest()
-
-
Method Details
-
setUp
public void setUp() -
testGetKeyStoreInputStreamString
Test method forRsaKeyStoreHelper.getKeyStore(java.io.InputStream, java.lang.String).- Throws:
IOExceptionFileNotFoundException
-
testGetKeyStoreInputStreamStringInvalidPassword
public void testGetKeyStoreInputStreamStringInvalidPassword() throws KeyStoreProcessingException, FileNotFoundException, IOExceptionTest method forRsaKeyStoreHelper.getKeyStore(java.io.InputStream, java.lang.String). -
testGetPrivateKey
Test method forRsaKeyStoreHelper.getPrivateKey(java.security.KeyStore, java.lang.String, java.lang.String).- Throws:
IOExceptionFileNotFoundException
-
testGetPrivateKeyInvalidAlias
public void testGetPrivateKeyInvalidAlias() throws KeyStoreProcessingException, FileNotFoundException, IOException -
testGetPublicKey
- Throws:
IOExceptionFileNotFoundException
-
testGetSignerInputStreamStringString
- Throws:
FileNotFoundExceptionIOException
-
buildAndVerify
- Throws:
FileNotFoundExceptionIOException
-