Fix unit testPrivateKeyTemplateSimple2048

This commit is contained in:
Arnaud Fontaine
2016-10-25 17:06:08 +02:00
parent a6b7b2bf4e
commit 4c9ea4e090

View File

@@ -160,7 +160,7 @@ public class SecurityTokenUtilsTest extends Mockito {
"1212121212121212121212121212121212121212121212121212121212121212" + "1212121212121212121212121212121212121212121212121212121212121212" +
"1212121212121212121212121212121212121212121212121212121212121212" "1212121212121212121212121212121212121212121212121212121212121212"
), ),
SecurityTokenUtils.createPrivKeyTemplate(key2048, KeyType.AUTH, format)); SecurityTokenUtils.createRSAPrivKeyTemplate(key2048, KeyType.AUTH, new RSAKeyFormat(2048, exp.bitLength(), RSAKeyFormat.RSAAlgorithmFormat.STANDARD)));
} }
@Test @Test