Class SecureRandomIdentifierGenerationStrategyTest
- java.lang.Object
-
- net.shibboleth.utilities.java.support.security.SecureRandomIdentifierGenerationStrategyTest
-
public class SecureRandomIdentifierGenerationStrategyTest extends Object
-
-
Constructor Summary
Constructors Constructor Description SecureRandomIdentifierGenerationStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstructorWithSecureRandom()Test generateIdentifier by generating a large number of identifiers and seeing whether each one is a valid XML ID, and that they are all different.voidtestGenerateIdentifier()Test generateIdentifier by generating a large number of identifiers and seeing whether each one is a valid XML ID, and that they are all different.
-
-
-
Method Detail
-
testGenerateIdentifier
public void testGenerateIdentifier()
Test generateIdentifier by generating a large number of identifiers and seeing whether each one is a valid XML ID, and that they are all different.
-
testConstructorWithSecureRandom
public void testConstructorWithSecureRandom() throws NoSuchAlgorithmExceptionTest generateIdentifier by generating a large number of identifiers and seeing whether each one is a valid XML ID, and that they are all different.- Throws:
NoSuchAlgorithmException- if the SHA1PRNG algorithm is not available
-
-