iaik.xkms
Interface ValidateResult

All Superinterfaces:
XMessageAbstractType, XResultType

public interface ValidateResult
extends XResultType

Response of a ValidateRequest.

[226] The validate response message contains a <ValidateResult> element with:
<KeyBinding> [Any Number]
A sequence of <KeyBinding> key bindings that match the key binding query specified in the corresponding request. If no results are found the sequence is empty and the result code 'NoMatch' is returned. In some circumstances a Validate operation MAY return multiple matching results.


Method Summary
 void addKeyBinding(KeyBinding kb)
          Adds a KeyBinding to this result.
 List<KeyBinding> getKeyBinding()
          Gets a List of all KeyBindings of this result.
 
Methods inherited from interface XResultType
addStandardReplyData, getRequestId, getRequestSignatureValue, getResultMajor, getResultMinor, setRequestId, setRequestSignatureValue, setResultMajor, setResultMinor
 
Methods inherited from interface XMessageAbstractType
addDefaults, addOpaqueClientData, clearOpaqueClientData, getId, getMessageName, getNonce, getOpaqueClientData, getService, getSignatureCertificate, hasSignature, isValid, setId, setNonce, setService, setSignature, toString
 

Method Detail

addKeyBinding

void addKeyBinding(KeyBinding kb)
Adds a KeyBinding to this result.

Parameters:
kb - KeyBinding to add

getKeyBinding

List<KeyBinding> getKeyBinding()
Gets a List of all KeyBindings of this result.

Returns:
a List of all KeyBindings of this result