-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: George Mulhearn <[email protected]>
- Loading branch information
1 parent
3461fc0
commit 10695cd
Showing
7 changed files
with
41 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,8 +43,11 @@ pub struct IssueCredentialV2Decorators { | |
pub enum IssueCredentialAttachmentFormatType { | ||
#[serde(rename = "aries/[email protected]")] | ||
AriesLdProofVc1_0, | ||
#[serde(rename = "anoncreds/[email protected]")] | ||
AnoncredsCredential2_0, | ||
#[serde( | ||
rename = "anoncreds/[email protected]", | ||
alias = "anoncreds/[email protected]" // TODO - this is wrong, fix once acapy fixes | ||
)] | ||
AnoncredsCredential1_0, | ||
#[serde(rename = "hlindy/[email protected]")] | ||
HyperledgerIndyCredential2_0, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,12 @@ pub enum OfferCredentialAttachmentFormatType { | |
DifCredentialManifest1_0, | ||
#[serde(rename = "hlindy/[email protected]")] | ||
HyperledgerIndyCredentialAbstract2_0, | ||
#[serde(rename = "anoncreds/[email protected]")] | ||
AnoncredsCredentialAbstract2_0, | ||
#[serde( | ||
rename = "anoncreds/[email protected]", | ||
alias = "anoncreds/[email protected]", // TODO - remove after acapy fix | ||
alias = "anoncreds/[email protected]" // TODO - remove after credo-ts fix | ||
)] | ||
AnoncredsCredentialOffer1_0, | ||
#[serde(rename = "aries/[email protected]")] | ||
AriesLdProofVcDetail1_0, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,8 +44,12 @@ pub enum ProposeCredentialAttachmentFormatType { | |
DifCredentialManifest1_0, | ||
#[serde(rename = "aries/[email protected]")] | ||
AriesLdProofVcDetail1_0, | ||
#[serde(rename = "anoncreds/[email protected]")] | ||
AnoncredCredentialFilter2_0, | ||
#[serde( | ||
rename = "anoncreds/[email protected]", | ||
// TODO - this is wrong, fix once acapy fixes | ||
alias = "anoncreds/[email protected]" | ||
)] | ||
AnoncredCredentialFilter1_0, | ||
#[serde(rename = "hlindy/[email protected]")] | ||
HyperledgerIndyCredentialFilter2_0, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,12 @@ pub enum RequestCredentialAttachmentFormatType { | |
DifCredentialManifest1_0, | ||
#[serde(rename = "hlindy/[email protected]")] | ||
HyperledgerIndyCredentialRequest2_0, | ||
#[serde(rename = "anoncreds/[email protected]")] | ||
AnoncredsCredentialRequest2_0, | ||
#[serde( | ||
rename = "anoncreds/[email protected]", | ||
// TODO - this is wrong, fix once acapy fixes | ||
alias = "anoncreds/[email protected]", | ||
)] | ||
AnoncredsCredentialRequest1_0, | ||
#[serde(rename = "aries/[email protected]")] | ||
AriesLdProofVcDetail1_0, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,9 +42,12 @@ pub struct PresentationV2Decorators { | |
pub enum PresentationAttachmentFormatType { | ||
#[serde(rename = "hlindy/[email protected]")] | ||
HyperledgerIndyProof2_0, | ||
// TODO - FIX - wrong ver, match acapy | ||
#[serde(rename = "anoncreds/[email protected]")] | ||
AnoncredsProof2_0, | ||
#[serde( | ||
rename = "anoncreds/[email protected]", | ||
// TODO - FIX - wrong ver, match acapy | ||
alias = "anoncreds/[email protected]" | ||
)] | ||
AnoncredsProof1_0, | ||
#[serde(rename = "dif/presentation-exchange/[email protected]")] | ||
DifPresentationExchangeSubmission1_0, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,9 +43,12 @@ pub enum ProposePresentationAttachmentFormatType { | |
DifPresentationExchangeDefinitions1_0, | ||
#[serde(rename = "hlindy/[email protected]")] | ||
HyperledgerIndyProofRequest2_0, | ||
// TODO - FIX - wrong ver, match acapy | ||
#[serde(rename = "anoncreds/[email protected]")] | ||
AnoncredsProofRequest2_0, | ||
#[serde( | ||
rename = "anoncreds/[email protected]", | ||
// TODO - FIX - wrong ver, match acapy | ||
alias = "anoncreds/[email protected]" | ||
)] | ||
AnoncredsProofRequest1_0, | ||
} | ||
|
||
#[cfg(test)] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,9 +44,12 @@ pub struct RequestPresentationV2Decorators { | |
pub enum PresentationRequestAttachmentFormatType { | ||
#[serde(rename = "hlindy/[email protected]")] | ||
HyperledgerIndyProofRequest2_0, | ||
// TODO - FIX - wrong ver, match acapy | ||
#[serde(rename = "anoncreds/[email protected]")] | ||
AnoncredsProofRequest2_0, | ||
#[serde( | ||
rename = "anoncreds/[email protected]", | ||
// TODO - FIX - wrong ver, match acapy | ||
alias = "anoncreds/[email protected]" | ||
)] | ||
AnoncredsProofRequest1_0, | ||
#[serde(rename = "dif/presentation-exchange/[email protected]")] | ||
DifPresentationExchangeDefinitions1_0, | ||
} | ||
|