Module ockam_identity::credentials
source · Expand description
Services for creating and validating credentials
Structs§
- Credentials retriever for credentials located in a local cache
- Creator for
CachedCredentialRetriever
- Structure with both
CredentialData
andPurposeKeyAttestationData
that we get after parsing and verifying corresponding [Credential
] andsuper::super::models::PurposeKeyAttestation
- Service for managing [
Credential
]s - Service for managing
Credential
s - Service for managing [
Credential
]s - Credentials retriever that retrieves a credential from memory
- Creator for
MemoryCredentialRetriever
- Credentials retriever for credentials located on a different node
- Creator for
RemoteCredentialRetriever
- Information necessary to connect to a remote credential retriever
- Timing options for retrieving remote credentials
Constants§
- Credential is considered already expired if it expires in less than this gap to account for a machine with a wrong time
- Start refresh in the background before it expires
- Default timeout for requesting credential from the authority
- Default timeout for creating secure channel to the authority
- Default minimal interval before 2 refreshed in case we retry the refresh.
- This is the default interval before a credential expiration when we’ll query for a new credential to avoid it expiring before we got a new one.
Traits§
- Trait for retrieving a credential for a given identity
- Creator for
CredentialRetriever
implementation