In Memory Subject Credential Store
Functions
Link copied to clipboard
Return attachments filtered by name
Link copied to clipboard
open suspend override fun getCredentials(requiredAttributeTypes: Collection<String>?): KmmResult<List<SubjectCredentialStore.StoreEntry>>
Return all stored credentials. Selective Disclosure: Specify list of attribute types in requiredAttributeTypes.
Link copied to clipboard
Implementation should store the attachment in a secure way. Note that the data has not been validated since it may not be signed.
Link copied to clipboard
open suspend override fun storeCredential(issuerSigned: IssuerSigned, scheme: ConstantIndex.CredentialScheme)
open suspend override fun storeCredential(vc: VerifiableCredentialJws, vcSerialized: String, scheme: ConstantIndex.CredentialScheme)
open suspend override fun storeCredential(vc: VerifiableCredentialSdJwt, vcSerialized: String, disclosures: Map<String, SelectiveDisclosureItem?>, scheme: ConstantIndex.CredentialScheme)
Implementations should store the passed credential in a secure way. Passed credentials have been validated before.