iaik.xkms
Interface RegisterResult
- All Superinterfaces:
- XKRSSResult, XMessageAbstractType, XResultType
public interface RegisterResult
- extends XKRSSResult
Response of a RegisterRequest.
[313] The register response message contains a <RegisterResult>
element that contains the following elements: <KeyBinding>
[Any number]
If present specifies the key binding that was registered by the service.
<XPrivateKey> [Optional]
The values of the private key parameters of a private key generated by the
registration service.
|
Method Summary |
boolean |
hasPrivateKeyBlock()
Determines whether this result message carries an encrypted private key. |
void |
setPrivateKey(XPrivateKey key,
Key cryptkey)
Prepares an encrypted private key block to be added to this result during
marshalling. |
| Methods inherited from interface XMessageAbstractType |
addDefaults, addOpaqueClientData, clearOpaqueClientData, getId, getMessageName, getNonce, getOpaqueClientData, getService, getSignatureCertificate, hasSignature, isValid, setId, setNonce, setService, setSignature, toString |
hasPrivateKeyBlock
boolean hasPrivateKeyBlock()
- Determines whether this result message carries an encrypted private key.
- Returns:
true if this result carries an encrypted private
key, false otherwise
setPrivateKey
void setPrivateKey(XPrivateKey key,
Key cryptkey)
- Prepares an encrypted private key block to be added to this result during
marshalling. During marshalling the given
key will be
encrypted using the given cryptkey and the result added to the
message.
- Parameters:
key - private key to add to the messagecryptkey - key to encrypt the private key with