prototypeKeyBindingType.setKeyInfo(keyInfoType);
prototypeKeyBindingType.setId("100231");
registerRequestType.setPrototypeKeyBinding(prototypeKeyBindingType);
AuthenticationType authenticationType = xKMSObjectFactory.createAuthenticationType();
NotBoundAuthenticationType notBoundAuthenticationType = xKMSObjectFactory.createNotBoundAuthenticationType();
notBoundAuthenticationType.setProtocol("NOTUSED");
notBoundAuthenticationType.setValue("foo123".getBytes());
authenticationType.setNotBoundAuthentication(notBoundAuthenticationType);
registerRequestType.setAuthentication(authenticationType);
RegisterResultType registerResultType = xKMSInvoker.register(registerRequestType, null, null, null, keys.getPrivate(), prototypeKeyBindingType.getId());