registerResultType = registerResult2.getValue();
PrivateKeyType privateKeyType2 = registerResultType.getPrivateKey();
RSAPrivateKey privkey2 = XKMSUtil.getPrivateKeyFromEncryptedXML(privateKeyType2, "This is total crap");
X509Certificate cert = CertTools.genSelfCert("CN=test", 10, null,privkey2, keys.getPublic(), "SHA1WithRSA", true);
cert.verify(keys.getPublic());
}
public void test02TestAliceRegistrationAuthenticationKey() throws Exception{
String authenticationData= "024837";