public void test04RegisterWithWrongStatus() throws Exception {
KeyPair keys = genKeys();
RegisterRequestType registerRequestType = xKMSObjectFactory.createRegisterRequestType();
registerRequestType.setId("603");
UseKeyWithType useKeyWithType = xKMSObjectFactory.createUseKeyWithType();
useKeyWithType.setApplication(XKMSConstants.USEKEYWITH_PKIX);
useKeyWithType.setIdentifier(dn1);
registerRequestType.getRespondWith().add(XKMSConstants.RESPONDWITH_X509CHAIN);
KeyInfoType keyInfoType = sigFactory.createKeyInfoType();
RSAKeyValueType rsaKeyValueType = sigFactory.createRSAKeyValueType();