| Interface | osid.authentication.keys.Key | ||
|---|---|---|---|
| Implements | osid.OsidObject | ||
| Description |
The key represents cryptographic data managed by the
authentication service. An | ||
| Method | getAgentId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the agent Id | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAgent | ||
| Description |
Gets the | ||
| Return | osid.authentication.Agent | the agent | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getKeyRecord | ||
| Description |
Gets the key record corresponding to the given | ||
| Parameters | osid.type.Type | keyRecordType | a key record type |
| Return | osid.authentication.keys.records.KeyRecord | the key record | |
| Errors | NULL_ARGUMENT | keyRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(keyRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |