|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface PrototypeKeyBinding
A template used to specify the key binding parameters requested in a registration request.
[280] The <PrototypeKeyBinding> element is derived from the
XKeyBindingAbstractType. It is used to specify the values of
elements that a client requests be present in the keybinding resulting from a
registration request.
[281] All fields in a <PrototypeKeyBinding> element are advisory and
MAY be ignored by the service. For example a client might request
registration under the policy identifier
http://example.com/policy/high-security corresponding to a high
assurance issuance policy but the returned key binding might specify the
policy identifier http://example.com/policy/low-security
corresponding to a low assurance issuance policy instead.
[282] The <PrototypeKeyBinding> element extends the
XKeyBindingAbstractType with the following additional elements:
<ValidityInterval> [Optional]
The suggested time interval for which the key binding relationship is valid.
<RevocationCodeIdentifier> [Optional]
Specifies a value to be used to validate a RevocationCode value in a
subsequent Revocation request.
| Method Summary | |
|---|---|
byte[] |
getRevocationCodeIdentifier()
Gets the revocation code identifier. |
Calendar[] |
getValidityInterval()
Gets the validity interval of this PrototypeKeyBinding. |
void |
setRevocationCodeIdentifier(Key key)
Sets the revocation code identifier according to the given key. |
void |
setRevocationCodeIdentifier(String passphrase)
Sets the revocation code identifier according to the key derived from the given passphrase. |
void |
setValidityInterval(Calendar notBefore,
Calendar notOnOrAfter)
Sets the validity interval of this PrototypeKeyBinding. |
| Methods inherited from interface XKeyBindingAbstractType |
|---|
addKeyUsage, addUseKeyWith, addUseKeyWith, getId, getKeyInfo, getKeyUsage, getUseKeyWithList, getUseKeyWithSize, removeKeyUsage, setId, setKeyInfo |
| Method Detail |
|---|
void setRevocationCodeIdentifier(Key key)
key - key to usevoid setRevocationCodeIdentifier(String passphrase)
passphrase - passphrase to derive the key frombyte[] getRevocationCodeIdentifier()
void setValidityInterval(Calendar notBefore,
Calendar notOnOrAfter)
PrototypeKeyBinding.
notBefore - start of the validity intervalnotOnOrAfter - end of the validty intervalCalendar[] getValidityInterval()
PrototypeKeyBinding.
The first element is a Calendar object for
NotBefore, the second for NotOnOrAfter.
If the values are not set, the array contains null.
Calendar[] specifying the validity interval.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||