Documentation
¶
Index ¶
- Constants
- type CreateKeyReply
- type CreateKeyRequest
- type CreateStatusListEntryReply
- type CreateStatusListEntryRequest
- type CreateTokenReply
- type CreateTokenRequest
- type GetIssuerMetadataReply
- type GetIssuerMetadataReq
- type HistoryRecord
- type IssuanceReply
- type IssuanceRequest
- type IssuerRegistration
- type RecordEventType
- type RetrievalAcceptanceNotification
- type RetrievalNotification
- type RetrievalOffering
- type StorageServiceStoreMessage
- type VerifyStatusListEntryReply
- type VerifyStatusListEntryRequest
Constants ¶
View Source
const ( EventTypeRetrievalExternal = "retrieval.offering.external" EventTypeRetrievalAcceptanceNotification = "retrieval.offering.acceptance" EventTypeRetrievalReceivedNotification = "retrieval.offering.received" TopicRetrevialSubscription = "retrieval.offering.subscription" TopicRetrevialPublication = "retrieval.offering.publication" )
View Source
const ( SignerServiceCreateKeyType string = "signer.createKey" SignerServiceSignTokenType string = "signer.signToken" SignerServiceErrorType string = "signer.error" )
View Source
const ( EventTypeStatus = "status.data" TopicStatusData = "status.data.create" TopicStatusDataVerify = "status.data.verify" )
View Source
const ( StorePresentationType = "storage.service.presentation" StoreCredentialType = "storage.service.credential" StorageTopic = "storage.service.store" )
View Source
const ( TopicGetIssuerMetadata = "wellknown.issuer.metadata" EventTypeGetIssuerMetadata = "wellknown.issuer.metadata" )
View Source
const ( TopicIssuerRegistration = "wellknown.issuer.registration" EventTypeIssuerRegistration = "wellknown.issuer.registration" )
View Source
const (
EventTypeIssuance = "issuance.request"
)
View Source
const SourceWellKnownService = "wellknown"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateKeyReply ¶
type CreateKeyRequest ¶
type CreateTokenReply ¶
type CreateTokenRequest ¶
type GetIssuerMetadataReply ¶
type GetIssuerMetadataReply struct { common.Reply Issuer *credential.IssuerMetadata }
type GetIssuerMetadataReq ¶
type HistoryRecord ¶
type IssuanceReply ¶
type IssuanceReply struct { common.Reply Offer credential.CredentialOffer `json:"offer"` }
type IssuanceRequest ¶
type IssuerRegistration ¶
type IssuerRegistration struct { common.Request Issuer credential.IssuerMetadata `json:"issuer"` }
type RecordEventType ¶
type RecordEventType string
const ( Consent RecordEventType = "consent" Pairing RecordEventType = "pairing" Issued RecordEventType = "issued" Presented RecordEventType = "presented" Revoked RecordEventType = "revoked" PresentationRequest RecordEventType = "presentationRequest" DeviceConnection RecordEventType = "device.connection" )
func RecordEventTypes ¶
func RecordEventTypes() []RecordEventType
type RetrievalAcceptanceNotification ¶
type RetrievalAcceptanceNotification struct { common.Request OfferingId string `json:"offeringId"` Message string `json:"message"` Result bool `json:"result"` HolderKey string `json:"holderKey` HolderNamespace string `json:"holderNamespace` HolderGroup string `json:"holderGroup` TxCode string `json:"tx_code` }
Notification when something was accepted --> EventTypeRetrievalAcceptanceNotification
type RetrievalNotification ¶
type RetrievalNotification struct { common.Request Offer credential.CredentialOfferParameters `json:"offerParams"` }
Notification when something was received --> EventTypeRetrievalReceivedNotification
type RetrievalOffering ¶
type RetrievalOffering struct { common.Request Offer credential.CredentialOffer `json:"offer"` }
Incoming Event for Offerings --> EventTypeRetrievalExternal
Source Files
¶
Click to show internal directories.
Click to hide internal directories.