public class SecureHashTest extends Object
| Constructor and Description |
|---|
SecureHashTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertCorrectlyComputeSecureHashUsing(org.modeshape.common.util.SecureHash.Algorithm algorithm) |
protected void |
assertSecureHashStreamWorks(org.modeshape.common.util.SecureHash.Algorithm algorithm,
String resourceName) |
void |
shouldCorrectlyComputeSecureHashUsingMD2() |
void |
shouldCorrectlyComputeSecureHashUsingMD5() |
void |
shouldCorrectlyComputeSecureHashUsingSHA1() |
void |
shouldCorrectlyComputeSecureHashUsingSHA256() |
void |
shouldCorrectlyComputeSecureHashUsingSHA384() |
public SecureHashTest()
public void shouldCorrectlyComputeSecureHashUsingMD2() throws Exception
Exceptionpublic void shouldCorrectlyComputeSecureHashUsingMD5() throws Exception
Exceptionpublic void shouldCorrectlyComputeSecureHashUsingSHA1() throws Exception
Exceptionpublic void shouldCorrectlyComputeSecureHashUsingSHA256() throws Exception
Exceptionpublic void shouldCorrectlyComputeSecureHashUsingSHA384() throws Exception
Exceptionprotected void assertCorrectlyComputeSecureHashUsing(org.modeshape.common.util.SecureHash.Algorithm algorithm) throws Exception
Exceptionprotected void assertSecureHashStreamWorks(org.modeshape.common.util.SecureHash.Algorithm algorithm, String resourceName) throws IOException, NoSuchAlgorithmException
IOExceptionNoSuchAlgorithmExceptionCopyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.