X509DataType x509DataType = sigFactory.createX509DataType();
x509DataType.getX509IssuerSerialOrX509SKIOrX509SubjectName().add(sigFactory.createX509DataTypeX509Certificate(orgCert.getEncoded()));
KeyInfoType keyInfoType = sigFactory.createKeyInfoType();
keyInfoType.getContent().add(sigFactory.createX509Data(x509DataType));
KeyBindingType keyBindingType = xKMSObjectFactory.createKeyBindingType();
keyBindingType.setKeyInfo(keyInfoType);
keyBindingType.setId(keyBindingId);
reissueRequestType.setReissueKeyBinding(keyBindingType);
PrivateKey privateKey = (PrivateKey) ks.getKey(alias, keyPass.toCharArray());
ReissueResultType reissueResultType = getXKMSInvoker().reissue(reissueRequestType, clientCert, privateKey, authPass, privateKey, keyBindingId);
if(reissueResultType.getResultMajor().equals(XKMSConstants.RESULTMAJOR_SUCCESS) &&
reissueResultType.getResultMinor() == null){
if(reissueResultType.getKeyBinding().size() >0){
KeyBindingType keyBinding = reissueResultType.getKeyBinding().get(0);
List certs = getCertsFromKeyBinding(keyBinding);
X509Certificate userCert = getUserCert(certs);
certs.remove(userCert);