├── .github ├── dependabot.yml └── workflows │ ├── build.yml │ ├── codeql.yml │ └── release.yml ├── .gitignore ├── LICENSE ├── MAINTAINERS.md ├── NOTICE ├── README.md ├── license-header.txt ├── licenses.xml ├── pom.xml ├── src ├── main │ └── java │ │ └── org │ │ └── hyperledger │ │ ├── acy_py │ │ └── generated │ │ │ └── model │ │ │ ├── AMLRecord.java │ │ │ ├── ActionMenuFetchResult.java │ │ │ ├── AdminConfig.java │ │ │ ├── AdminMediationDeny.java │ │ │ ├── AdminModules.java │ │ │ ├── AdminStatus.java │ │ │ ├── AdminStatusLiveliness.java │ │ │ ├── AdminStatusReadiness.java │ │ │ ├── AttachDecorator.java │ │ │ ├── AttachDecoratorData.java │ │ │ ├── AttachDecoratorData1JWS.java │ │ │ ├── AttachDecoratorDataJWS.java │ │ │ ├── AttachDecoratorDataJWSHeader.java │ │ │ ├── AttachmentDef.java │ │ │ ├── AttributeMimeTypesResult.java │ │ │ ├── ClaimFormat.java │ │ │ ├── ClearPendingRevocationsRequest.java │ │ │ ├── ConfigurableWriteLedgers.java │ │ │ ├── ConnRecord.java │ │ │ ├── ConnectionInvitation.java │ │ │ ├── ConnectionList.java │ │ │ ├── ConnectionMetadata.java │ │ │ ├── ConnectionMetadataSetRequest.java │ │ │ ├── ConnectionStaticRequest.java │ │ │ ├── ConnectionStaticResult.java │ │ │ ├── Constraints.java │ │ │ ├── CreateInvitationRequest.java │ │ │ ├── CreateWalletRequest.java │ │ │ ├── CreateWalletResponse.java │ │ │ ├── CreateWalletTokenRequest.java │ │ │ ├── CreateWalletTokenResponse.java │ │ │ ├── CredAttrSpec.java │ │ │ ├── CredDefValue.java │ │ │ ├── CredDefValuePrimary.java │ │ │ ├── CredDefValueRevocation.java │ │ │ ├── CredInfoList.java │ │ │ ├── CredRevIndyRecordsResult.java │ │ │ ├── CredRevRecordDetailsResult.java │ │ │ ├── CredRevRecordResult.java │ │ │ ├── CredRevokedResult.java │ │ │ ├── Credential.java │ │ │ ├── CredentialDefinition.java │ │ │ ├── CredentialDefinitionGetResult.java │ │ │ ├── CredentialDefinitionSendRequest.java │ │ │ ├── CredentialDefinitionSendResult.java │ │ │ ├── CredentialDefinitionsCreatedResult.java │ │ │ ├── CredentialOffer.java │ │ │ ├── CredentialPreview.java │ │ │ ├── CredentialProposal.java │ │ │ ├── CredentialStatusOptions.java │ │ │ ├── DID.java │ │ │ ├── DIDCreate.java │ │ │ ├── DIDCreateOptions.java │ │ │ ├── DIDEndpoint.java │ │ │ ├── DIDEndpointWithType.java │ │ │ ├── DIDList.java │ │ │ ├── DIDResult.java │ │ │ ├── DIDXRejectRequest.java │ │ │ ├── DIDXRequest.java │ │ │ ├── DIFField.java │ │ │ ├── DIFHolder.java │ │ │ ├── DIFOptions.java │ │ │ ├── DIFPresSpec.java │ │ │ ├── DIFProofProposal.java │ │ │ ├── DIFProofRequest.java │ │ │ ├── Date.java │ │ │ ├── Disclose.java │ │ │ ├── Disclosures.java │ │ │ ├── Doc.java │ │ │ ├── EndorserInfo.java │ │ │ ├── EndpointsResult.java │ │ │ ├── Filter.java │ │ │ ├── Generated.java │ │ │ ├── GetDIDEndpointResponse.java │ │ │ ├── GetDIDVerkeyResponse.java │ │ │ ├── GetNymRoleResponse.java │ │ │ ├── IndyAttrValue.java │ │ │ ├── IndyCredAbstract.java │ │ │ ├── IndyCredInfo.java │ │ │ ├── IndyCredPrecis.java │ │ │ ├── IndyCredRequest.java │ │ │ ├── IndyCredential.java │ │ │ ├── IndyEQProof.java │ │ │ ├── IndyGEProof.java │ │ │ ├── IndyGEProofPred.java │ │ │ ├── IndyKeyCorrectnessProof.java │ │ │ ├── IndyNonRevocProof.java │ │ │ ├── IndyNonRevocationInterval.java │ │ │ ├── IndyPresAttrSpec.java │ │ │ ├── IndyPresPredSpec.java │ │ │ ├── IndyPresPreview.java │ │ │ ├── IndyPresSpec.java │ │ │ ├── IndyPrimaryProof.java │ │ │ ├── IndyProof.java │ │ │ ├── IndyProofIdentifier.java │ │ │ ├── IndyProofProof.java │ │ │ ├── IndyProofProofAggregatedProof.java │ │ │ ├── IndyProofProofProofsProof.java │ │ │ ├── IndyProofReqAttrSpec.java │ │ │ ├── IndyProofReqAttrSpecNonRevoked.java │ │ │ ├── IndyProofReqPredSpec.java │ │ │ ├── IndyProofReqPredSpecNonRevoked.java │ │ │ ├── IndyProofRequest.java │ │ │ ├── IndyProofRequestNonRevoked.java │ │ │ ├── IndyProofRequestedProof.java │ │ │ ├── IndyProofRequestedProofPredicate.java │ │ │ ├── IndyProofRequestedProofRevealedAttr.java │ │ │ ├── IndyProofRequestedProofRevealedAttrGroup.java │ │ │ ├── IndyRequestedCredsRequestedAttr.java │ │ │ ├── IndyRequestedCredsRequestedPred.java │ │ │ ├── IndyRevRegDef.java │ │ │ ├── IndyRevRegDefValue.java │ │ │ ├── IndyRevRegDefValuePublicKeys.java │ │ │ ├── IndyRevRegDefValuePublicKeysAccumKey.java │ │ │ ├── IndyRevRegEntry.java │ │ │ ├── IndyRevRegEntryValue.java │ │ │ ├── InputDescriptors.java │ │ │ ├── InvitationCreateRequest.java │ │ │ ├── InvitationMessage.java │ │ │ ├── InvitationRecord.java │ │ │ ├── InvitationResult.java │ │ │ ├── IssuerCredRevRecord.java │ │ │ ├── IssuerRevRegRecord.java │ │ │ ├── JWSCreate.java │ │ │ ├── JWSVerify.java │ │ │ ├── JWSVerifyResponse.java │ │ │ ├── Keylist.java │ │ │ ├── KeylistQuery.java │ │ │ ├── KeylistQueryFilterRequest.java │ │ │ ├── KeylistQueryPaginate.java │ │ │ ├── KeylistUpdate.java │ │ │ ├── KeylistUpdateRequest.java │ │ │ ├── KeylistUpdateRule.java │ │ │ ├── LDProofVCDetail.java │ │ │ ├── LDProofVCDetailOptions.java │ │ │ ├── LedgerConfigInstance.java │ │ │ ├── LedgerConfigList.java │ │ │ ├── LinkedDataProof.java │ │ │ ├── MediationCreateRequest.java │ │ │ ├── MediationDeny.java │ │ │ ├── MediationGrant.java │ │ │ ├── MediationIdMatchInfo.java │ │ │ ├── MediationList.java │ │ │ ├── MediationRecord.java │ │ │ ├── Menu.java │ │ │ ├── MenuForm.java │ │ │ ├── MenuFormParam.java │ │ │ ├── MenuJson.java │ │ │ ├── MenuOption.java │ │ │ ├── OobRecord.java │ │ │ ├── PerformRequest.java │ │ │ ├── PingRequest.java │ │ │ ├── PingRequestResponse.java │ │ │ ├── PresentationDefinition.java │ │ │ ├── PresentationProposal.java │ │ │ ├── PresentationRequest.java │ │ │ ├── ProfileSettings.java │ │ │ ├── ProtocolDescriptor.java │ │ │ ├── PublishRevocations.java │ │ │ ├── Queries.java │ │ │ ├── Query.java │ │ │ ├── QueryItem.java │ │ │ ├── RawEncoded.java │ │ │ ├── ReceiveInvitationRequest.java │ │ │ ├── RemoveWalletRequest.java │ │ │ ├── ResolutionResult.java │ │ │ ├── RevRegCreateRequest.java │ │ │ ├── RevRegIssuedResult.java │ │ │ ├── RevRegResult.java │ │ │ ├── RevRegUpdateTailsFileUri.java │ │ │ ├── RevRegWalletUpdatedResult.java │ │ │ ├── RevRegsCreated.java │ │ │ ├── RevokeRequest.java │ │ │ ├── RouteRecord.java │ │ │ ├── Schema.java │ │ │ ├── SchemaGetResult.java │ │ │ ├── SchemaInputDescriptor.java │ │ │ ├── SchemaSendRequest.java │ │ │ ├── SchemaSendResult.java │ │ │ ├── SchemasCreatedResult.java │ │ │ ├── SchemasInputDescriptorFilter.java │ │ │ ├── SendMenu.java │ │ │ ├── SendMessage.java │ │ │ ├── ServiceDecorator.java │ │ │ ├── SignRequest.java │ │ │ ├── SignResponse.java │ │ │ ├── SignatureOptions.java │ │ │ ├── SignedDoc.java │ │ │ ├── SubmissionRequirements.java │ │ │ ├── TAAAccept.java │ │ │ ├── TAAAcceptance.java │ │ │ ├── TAAInfo.java │ │ │ ├── TAARecord.java │ │ │ ├── TAAResult.java │ │ │ ├── TailsDeleteResponse.java │ │ │ ├── TransactionJobs.java │ │ │ ├── TransactionList.java │ │ │ ├── TransactionRecord.java │ │ │ ├── TxnOrCredentialDefinitionSendResult.java │ │ │ ├── TxnOrPublishRevocationsResult.java │ │ │ ├── TxnOrRegisterLedgerNymResponse.java │ │ │ ├── TxnOrRevRegResult.java │ │ │ ├── TxnOrSchemaSendResult.java │ │ │ ├── UpdateProfileSettings.java │ │ │ ├── UpdateWalletRequest.java │ │ │ ├── V10CredentialBoundOfferRequest.java │ │ │ ├── V10CredentialConnFreeOfferRequest.java │ │ │ ├── V10CredentialCreate.java │ │ │ ├── V10CredentialExchange.java │ │ │ ├── V10CredentialExchangeAutoRemoveRequest.java │ │ │ ├── V10CredentialExchangeListResult.java │ │ │ ├── V10CredentialFreeOfferRequest.java │ │ │ ├── V10CredentialIssueRequest.java │ │ │ ├── V10CredentialProblemReportRequest.java │ │ │ ├── V10CredentialProposalRequestMand.java │ │ │ ├── V10CredentialProposalRequestOpt.java │ │ │ ├── V10CredentialStoreRequest.java │ │ │ ├── V10DiscoveryExchangeListResult.java │ │ │ ├── V10DiscoveryRecord.java │ │ │ ├── V10PresentationCreateRequestRequest.java │ │ │ ├── V10PresentationExchange.java │ │ │ ├── V10PresentationExchangeList.java │ │ │ ├── V10PresentationProblemReportRequest.java │ │ │ ├── V10PresentationProposalRequest.java │ │ │ ├── V10PresentationSendRequest.java │ │ │ ├── V10PresentationSendRequestRequest.java │ │ │ ├── V10PresentationSendRequestToProposal.java │ │ │ ├── V20CredAttrSpec.java │ │ │ ├── V20CredBoundOfferRequest.java │ │ │ ├── V20CredExFree.java │ │ │ ├── V20CredExRecord.java │ │ │ ├── V20CredExRecordByFormat.java │ │ │ ├── V20CredExRecordDetail.java │ │ │ ├── V20CredExRecordIndy.java │ │ │ ├── V20CredExRecordLDProof.java │ │ │ ├── V20CredExRecordListResult.java │ │ │ ├── V20CredFilter.java │ │ │ ├── V20CredFilterIndy.java │ │ │ ├── V20CredFilterLDProof.java │ │ │ ├── V20CredFormat.java │ │ │ ├── V20CredIssue.java │ │ │ ├── V20CredIssueProblemReportRequest.java │ │ │ ├── V20CredIssueRequest.java │ │ │ ├── V20CredOffer.java │ │ │ ├── V20CredOfferConnFreeRequest.java │ │ │ ├── V20CredOfferRequest.java │ │ │ ├── V20CredPreview.java │ │ │ ├── V20CredProposal.java │ │ │ ├── V20CredRequest.java │ │ │ ├── V20CredRequestFree.java │ │ │ ├── V20CredRequestRequest.java │ │ │ ├── V20CredStoreRequest.java │ │ │ ├── V20DiscoveryExchangeListResult.java │ │ │ ├── V20DiscoveryExchangeResult.java │ │ │ ├── V20DiscoveryRecord.java │ │ │ ├── V20IssueCredSchemaCore.java │ │ │ ├── V20Pres.java │ │ │ ├── V20PresCreateRequestRequest.java │ │ │ ├── V20PresExRecord.java │ │ │ ├── V20PresExRecordByFormat.java │ │ │ ├── V20PresExRecordList.java │ │ │ ├── V20PresFormat.java │ │ │ ├── V20PresProblemReportRequest.java │ │ │ ├── V20PresProposal.java │ │ │ ├── V20PresProposalByFormat.java │ │ │ ├── V20PresProposalRequest.java │ │ │ ├── V20PresRequest.java │ │ │ ├── V20PresRequestByFormat.java │ │ │ ├── V20PresSendRequestRequest.java │ │ │ ├── V20PresSpecByFormatRequest.java │ │ │ ├── V20PresentationSendRequestToProposal.java │ │ │ ├── VCRecord.java │ │ │ ├── VCRecordList.java │ │ │ ├── VerifyRequest.java │ │ │ ├── VerifyResponse.java │ │ │ ├── W3CCredentialsListRequest.java │ │ │ ├── WalletList.java │ │ │ ├── WalletRecord.java │ │ │ └── WriteLedger.java │ │ └── aries │ │ ├── AriesClient.java │ │ ├── AriesWebSocketClient.java │ │ ├── BaseClient.java │ │ ├── ClientToTenant.java │ │ ├── api │ │ ├── AcaPyRequestFilter.java │ │ ├── ExchangeVersion.java │ │ ├── action_menu │ │ │ ├── MenuForm.java │ │ │ ├── MenuFormParam.java │ │ │ ├── MenuOption.java │ │ │ ├── PerformRequest.java │ │ │ └── SendMenu.java │ │ ├── connection │ │ │ ├── ConnectionAcceptInvitationFilter.java │ │ │ ├── ConnectionAcceptRequestFilter.java │ │ │ ├── ConnectionAcceptance.java │ │ │ ├── ConnectionFilter.java │ │ │ ├── ConnectionInitiator.java │ │ │ ├── ConnectionReceiveInvitationFilter.java │ │ │ ├── ConnectionRecord.java │ │ │ ├── ConnectionSetMetaDataRequest.java │ │ │ ├── ConnectionState.java │ │ │ ├── ConnectionStaticRequest.java │ │ │ ├── ConnectionStaticResult.java │ │ │ ├── ConnectionTheirRole.java │ │ │ ├── CreateInvitationParams.java │ │ │ ├── CreateInvitationRequest.java │ │ │ ├── CreateInvitationResponse.java │ │ │ ├── EndpointResult.java │ │ │ └── ReceiveInvitationRequest.java │ │ ├── credential_definition │ │ │ ├── CredentialDefinition.java │ │ │ ├── CredentialDefinitionFilter.java │ │ │ └── CredentialDefinitionGetResult.java │ │ ├── credentials │ │ │ ├── Credential.java │ │ │ ├── CredentialAttributes.java │ │ │ ├── CredentialFilter.java │ │ │ ├── CredentialPreview.java │ │ │ ├── CredentialRevokedFilter.java │ │ │ └── ListCredentialsFilter.java │ │ ├── did_exchange │ │ │ ├── DIDXRequest.java │ │ │ ├── DIDXRequestDidDocAttach.java │ │ │ ├── DidExchangeAcceptInvitationFilter.java │ │ │ ├── DidExchangeAcceptRequestFilter.java │ │ │ ├── DidExchangeCreateRequestFilter.java │ │ │ └── DidExchangeReceiveRequestFilter.java │ │ ├── discover_features │ │ │ ├── DiscoverFeatureEvent.java │ │ │ ├── DiscoverFeaturesQueryFilter.java │ │ │ └── DiscoverFeaturesRecordsFilter.java │ │ ├── discover_features_v2 │ │ │ └── DiscoverFeaturesV2QueriesFilter.java │ │ ├── endorser │ │ │ ├── EndorseCreateRequest.java │ │ │ ├── EndorseCreateRequestFilter.java │ │ │ ├── EndorseTransactionRecord.java │ │ │ ├── EndorserInfoFilter.java │ │ │ ├── SetEndorserInfoFilter.java │ │ │ ├── SetEndorserRoleFilter.java │ │ │ ├── TransactionState.java │ │ │ └── TransactionType.java │ │ ├── exception │ │ │ ├── AriesException.java │ │ │ ├── AriesNetworkException.java │ │ │ └── ParsingException.java │ │ ├── introduction │ │ │ └── ConnectionStartIntroductionFilter.java │ │ ├── issue_credential_v1 │ │ │ ├── BaseCredExRecord.java │ │ │ ├── CredExStateTranslator.java │ │ │ ├── CredentialExchangeInitiator.java │ │ │ ├── CredentialExchangeRole.java │ │ │ ├── CredentialExchangeState.java │ │ │ ├── CredentialFreeOfferHelper.java │ │ │ ├── IssueCredentialRecordsFilter.java │ │ │ ├── ThreadId.java │ │ │ ├── V1CredentialCreate.java │ │ │ ├── V1CredentialExchange.java │ │ │ ├── V1CredentialFreeOfferRequest.java │ │ │ ├── V1CredentialIssueRequest.java │ │ │ ├── V1CredentialOfferRequest.java │ │ │ ├── V1CredentialProposalRequest.java │ │ │ └── V1CredentialStoreRequest.java │ │ ├── issue_credential_v2 │ │ │ ├── V1ToV2IssueCredentialConverter.java │ │ │ ├── V20CredBoundOfferRequest.java │ │ │ ├── V20CredExRecord.java │ │ │ ├── V20CredExRecordByFormat.java │ │ │ ├── V20CredOffer.java │ │ │ ├── V20CredOfferRequest.java │ │ │ ├── V20CredProposal.java │ │ │ ├── V2CredentialExchangeFree.java │ │ │ ├── V2IssueCredentialRecordsFilter.java │ │ │ ├── V2IssueIndyCredentialEvent.java │ │ │ ├── V2IssueLDCredentialEvent.java │ │ │ └── V2ToV1IndyCredentialConverter.java │ │ ├── jsonld │ │ │ ├── ErrorResponse.java │ │ │ ├── LinkedDataProof.java │ │ │ ├── ProofType.java │ │ │ ├── SignRequest.java │ │ │ ├── VerifiableCredential.java │ │ │ ├── VerifiablePresentation.java │ │ │ ├── VerifyRequest.java │ │ │ └── VerifyResponse.java │ │ ├── ledger │ │ │ ├── DidVerkeyResponse.java │ │ │ ├── EndpointResponse.java │ │ │ ├── EndpointType.java │ │ │ ├── IndyLedgerRoles.java │ │ │ ├── RegisterNymFilter.java │ │ │ ├── TAAAccept.java │ │ │ └── TAAInfo.java │ │ ├── mediation │ │ │ ├── MediationKeyListQueryFilter.java │ │ │ ├── MediationKeyListsFilter.java │ │ │ └── MediationRequestsFilter.java │ │ ├── message │ │ │ ├── BasicMessage.java │ │ │ └── ProblemReport.java │ │ ├── multitenancy │ │ │ ├── CreateWalletRequest.java │ │ │ ├── CreateWalletTokenRequest.java │ │ │ ├── CreateWalletTokenResponse.java │ │ │ ├── KeyManagementMode.java │ │ │ ├── RemoveWalletRequest.java │ │ │ ├── UpdateWalletRequest.java │ │ │ ├── WalletDispatchType.java │ │ │ ├── WalletKeyDerivation.java │ │ │ ├── WalletRecord.java │ │ │ └── WalletType.java │ │ ├── out_of_band │ │ │ ├── AttachmentDef.java │ │ │ ├── BaseOOBInvitationHelper.java │ │ │ ├── CreateInvitationFilter.java │ │ │ ├── InvitationCreateRequest.java │ │ │ ├── InvitationMessage.java │ │ │ ├── InvitationMessageTranslator.java │ │ │ ├── InvitationRecord.java │ │ │ ├── OOBRecord.java │ │ │ └── ReceiveInvitationFilter.java │ │ ├── present_proof │ │ │ ├── AdminAPIMessageTracing.java │ │ │ ├── BasePresExRecord.java │ │ │ ├── PresExStateTranslator.java │ │ │ ├── PresentProofProposal.java │ │ │ ├── PresentProofProposalBuilder.java │ │ │ ├── PresentProofRecordsFilter.java │ │ │ ├── PresentProofRequest.java │ │ │ ├── PresentProofRequestHelper.java │ │ │ ├── PresentationExchangeInitiator.java │ │ │ ├── PresentationExchangeRecord.java │ │ │ ├── PresentationExchangeRole.java │ │ │ ├── PresentationExchangeState.java │ │ │ ├── PresentationFreeOfferHelper.java │ │ │ ├── PresentationRequestCredentials.java │ │ │ ├── PresentationRequestCredentialsFilter.java │ │ │ ├── ProofRequestPresentation.java │ │ │ ├── ProofRequestPresentationBuilder.java │ │ │ ├── RequestedProofParser.java │ │ │ ├── SendPresentationRequest.java │ │ │ └── SendPresentationRequestHelper.java │ │ ├── present_proof_v2 │ │ │ ├── DIFField.java │ │ │ ├── DIFPresSpec.java │ │ │ ├── PresentationFormat.java │ │ │ ├── V20PresCreateRequestRequest.java │ │ │ ├── V20PresExRecord.java │ │ │ ├── V20PresExRecordByFormat.java │ │ │ ├── V20PresExRecordToV1Converter.java │ │ │ ├── V20PresProposalByFormat.java │ │ │ ├── V20PresProposalRequest.java │ │ │ ├── V20PresSendRequestRequest.java │ │ │ ├── V20PresSpecByFormatRequest.java │ │ │ ├── V2DIFProofRequest.java │ │ │ └── V2PresentProofRecordsFilter.java │ │ ├── resolver │ │ │ └── DIDDocument.java │ │ ├── revocation │ │ │ ├── DeleteTailsFileFilter.java │ │ │ ├── FixRevocationEntryStateFilter.java │ │ │ ├── RevRegCreateRequest.java │ │ │ ├── RevRegCreateResponse.java │ │ │ ├── RevRegUpdateTailsFileUri.java │ │ │ ├── RevRegsCreated.java │ │ │ ├── RevocationCredentialRecordFilter.java │ │ │ ├── RevocationEvent.java │ │ │ ├── RevocationNotificationBase.java │ │ │ ├── RevocationNotificationEvent.java │ │ │ ├── RevocationNotificationEventV2.java │ │ │ ├── RevocationRegistryState.java │ │ │ └── RevokeRequest.java │ │ ├── schema │ │ │ ├── SchemaSendRequest.java │ │ │ ├── SchemaSendResponse.java │ │ │ └── SchemasCreatedFilter.java │ │ ├── serializer │ │ │ ├── JsonArrayDeserializer.java │ │ │ ├── JsonArraySerializer.java │ │ │ ├── JsonObjectArrayDeserializer.java │ │ │ ├── JsonObjectArraySerializer.java │ │ │ ├── JsonObjectDeserializer.java │ │ │ └── JsonObjectSerializer.java │ │ ├── server │ │ │ ├── AdminConfig.java │ │ │ ├── AdminStatusLiveliness.java │ │ │ ├── AdminStatusReadiness.java │ │ │ └── StatusConfig.java │ │ ├── settings │ │ │ ├── Settings.java │ │ │ └── UpdateProfileSettings.java │ │ ├── trustping │ │ │ ├── PingEvent.java │ │ │ ├── PingEventState.java │ │ │ ├── PingRequest.java │ │ │ └── PingResponse.java │ │ └── wallet │ │ │ ├── AssignPublicDidFilter.java │ │ │ ├── DefaultDidMethod.java │ │ │ └── ListWalletDidFilter.java │ │ ├── config │ │ ├── CredDefId.java │ │ ├── GsonConfig.java │ │ ├── TimeUtil.java │ │ └── UriUtil.java │ │ ├── pojo │ │ ├── AttributeGroupName.java │ │ ├── AttributeName.java │ │ └── PojoProcessor.java │ │ └── webhook │ │ ├── AriesWebSocketListener.java │ │ ├── EventHandler.java │ │ ├── EventParser.java │ │ ├── EventType.java │ │ ├── IEventHandler.java │ │ ├── IFailureHandler.java │ │ ├── ReactiveEventHandler.java │ │ └── TenantAwareEventHandler.java └── test │ ├── java │ └── org │ │ └── hyperledger │ │ └── aries │ │ ├── AriesClientBuilderTest.java │ │ ├── IntegrationTestBase.java │ │ ├── MockedTestBase.java │ │ ├── api │ │ ├── AcaPyRequestFilterTest.java │ │ ├── connection │ │ │ ├── ConnectionRecordTest.java │ │ │ └── MockedConnectionTest.java │ │ ├── credentials │ │ │ ├── CredentialAttributesTest.java │ │ │ ├── IssueCredentialTest.java │ │ │ └── MockedCredentialTest.java │ │ ├── did_exchange │ │ │ └── MockedDidExchangeTest.java │ │ ├── discover_features │ │ │ └── DiscoverFeaturesTest.java │ │ ├── discover_features_v2 │ │ │ └── DiscoverFeaturesV2Test.java │ │ ├── endorser │ │ │ └── SerializationTest.java │ │ ├── issue_credential_v2 │ │ │ └── V2ToV1IndyCredentialConverterTest.java │ │ ├── jsonld │ │ │ ├── JsonldSerialisationTest.java │ │ │ └── JsonldTest.java │ │ ├── ledger │ │ │ └── LedgerTest.java │ │ ├── multitenant │ │ │ └── MultiTenantTest.java │ │ ├── out_of_band │ │ │ ├── InvitationMessageTest.java │ │ │ ├── OOBRecordIntegrationTest.java │ │ │ └── OOBRecordTest.java │ │ ├── present_proof │ │ │ ├── MockedPresentProofTest.java │ │ │ ├── PresentProofProposalTest.java │ │ │ ├── PresentProofRequestHelperTest.java │ │ │ ├── PresentProofRequestTest.java │ │ │ ├── ProofRequestPresentationBuilderTest.java │ │ │ ├── RequestedProofParserTest.java │ │ │ └── SendPresentationRequestHelperTest.java │ │ ├── present_proof_v2 │ │ │ ├── DifPresExTest.java │ │ │ ├── MockedPresExTest.java │ │ │ ├── PresentProofProposalV2Test.java │ │ │ └── VPPatternMatcherTest.java │ │ ├── revocation │ │ │ ├── MockedRevocationTest.java │ │ │ ├── RevocationInfoTest.java │ │ │ └── RevocationTest.java │ │ ├── schema │ │ │ └── MockedSchemaTest.java │ │ ├── serializer │ │ │ └── CustomSerializersTest.java │ │ ├── server │ │ │ ├── AdminConfigTest.java │ │ │ └── ServerReadinessTest.java │ │ ├── settings │ │ │ └── SettingsTest.java │ │ └── wallet │ │ │ ├── WalletFilterTest.java │ │ │ └── WalletTest.java │ │ ├── pojo │ │ └── PojoProcessorTest.java │ │ ├── util │ │ ├── FileLoader.java │ │ └── UriUtilTest.java │ │ └── webhook │ │ ├── EventParserTest.java │ │ └── ReactiveHandlerTest.java │ └── resources │ ├── events │ ├── connection-active.json │ ├── discover-feature-event.json │ ├── issue-credential.json │ ├── problem-report-object.json │ ├── problem-report-string.json │ ├── proof-valid-prover.json │ ├── proof-valid-verifier-attr-group.json │ └── proof-valid-verifier.json │ ├── files │ ├── connection.json │ ├── connections.json │ ├── connectionsActive.json │ ├── credential.json │ ├── credentialDefinition.json │ ├── credentials.json │ ├── didexchange │ │ └── didexchange-create-request.json │ ├── invitation.json │ ├── issue-credential-v2 │ │ └── holder-icv2-done.json │ ├── issueCredentialRecords.json │ ├── jsonld-sign-response.json │ ├── present-proof-record.json │ ├── present-proof-records-credentials.json │ ├── present-proof-records.json │ ├── present-proof-request-response.json │ ├── present-proof-v2 │ │ ├── matching-dif-credential.json │ │ ├── verifier-done-dif.json │ │ └── verifier-proposal-received.json │ ├── present-proof.json │ ├── revocation │ │ ├── revRegCreateResponse.json │ │ ├── revRegCreateResponseJava.json │ │ ├── revRegCreateResponseStateActive.json │ │ ├── revRegCreateResponseStateActiveJava.json │ │ └── revRegsCreated.json │ └── schemas │ │ ├── schemaGetResults.json │ │ └── schemaSendResults.json │ ├── json-ld │ ├── verifiableCredentialUnsigned.json │ └── verifiablePresentationUnsigned.json │ ├── logback-test.xml │ └── spotbugs-exclude.xml └── swagger ├── 0_10_5.json ├── 0_6_0.json ├── 0_7_0.json ├── 0_7_1.json ├── 0_7_2.json ├── 0_7_3.json ├── 0_7_4.json ├── 0_7_5.json ├── 0_8_0.json └── custom_templates └── pojo.mustache /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Set update schedule for GitHub Actions 2 | 3 | version: 2 4 | updates: 5 | 6 | - package-ecosystem: "github-actions" 7 | directory: "/" 8 | schedule: 9 | # Check for updates to GitHub Actions every weekday 10 | interval: "daily" -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: CI/CD 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - main 7 | push: 8 | branches: 9 | - main 10 | 11 | jobs: 12 | build: 13 | runs-on: ubuntu-latest 14 | if: "!contains(github.event.head_commit.message, '[ci skip]')" 15 | 16 | steps: 17 | - uses: actions/checkout@v4 18 | with: 19 | # needed for the license header check 20 | fetch-depth: 0 21 | - name: Set up JDK 11 22 | uses: actions/setup-java@v4 23 | with: 24 | distribution: 'temurin' 25 | java-version: '11' 26 | check-latest: true 27 | cache: 'maven' 28 | - name: Build with Maven 29 | run: mvn clean verify 30 | - name: Publish Test Results 31 | uses: EnricoMi/publish-unit-test-result-action@v2 32 | if: always() 33 | with: 34 | files: | 35 | **/surefire-reports/*.xml 36 | large_files: true -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- 1 | name: "Code Scanning - Action" 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - main 7 | push: 8 | branches: 9 | - main 10 | 11 | jobs: 12 | CodeQL-Build: 13 | runs-on: ubuntu-latest 14 | 15 | permissions: 16 | security-events: write 17 | 18 | steps: 19 | - name: Checkout repository 20 | uses: actions/checkout@v4 21 | 22 | - name: Setup Java 23 | uses: actions/setup-java@v4 24 | with: 25 | distribution: 'temurin' 26 | java-version: '11' 27 | check-latest: true 28 | 29 | - name: Initialize CodeQL 30 | uses: github/codeql-action/init@v2 31 | with: 32 | languages: java 33 | 34 | - name: Autobuild 35 | uses: github/codeql-action/autobuild@v2 36 | 37 | - name: Perform CodeQL Analysis 38 | uses: github/codeql-action/analyze@v2 -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Publish package to GitHub Packages 2 | on: 3 | release: 4 | types: [created] 5 | jobs: 6 | publish: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - uses: actions/checkout@v4 10 | - uses: actions/setup-java@v4 11 | with: 12 | distribution: 'temurin' 13 | java-version: '11' 14 | check-latest: true 15 | cache: 'maven' 16 | 17 | - name: Publish package 18 | run: mvn --batch-mode deploy 19 | env: 20 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | # Compiled class file 4 | *.class 5 | 6 | # Log file 7 | *.log 8 | 9 | # BlueJ files 10 | *.ctxt 11 | 12 | # Mobile Tools for Java (J2ME) 13 | .mtj.tmp/ 14 | 15 | # Package Files # 16 | *.jar 17 | *.war 18 | *.nar 19 | *.ear 20 | *.zip 21 | *.tar.gz 22 | *.rar 23 | 24 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 25 | hs_err_pid* 26 | 27 | # Eclipse 28 | .settings 29 | .project 30 | .classpath 31 | .factorypath 32 | .externalToolBuilders 33 | 34 | # IntelliJ 35 | .idea/ 36 | *.iml 37 | 38 | .vscode 39 | 40 | # Build 41 | **/target/** 42 | 43 | # Generator 44 | java/.openapi-generator -------------------------------------------------------------------------------- /MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | ## Maintainers 2 | 3 | ### Active Maintainers 4 | | name | Github | Discord | 5 | |-----------------|------------------------------------------|---------------| 6 | | Philipp Etschel | [@etschelp](https://github.com/etschelp) | etschelp#7436 | -------------------------------------------------------------------------------- /license-header.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) ${license.git.copyrightYears} - for information on the respective copyright owner 2 | see the NOTICE file and/or the repository at 3 | https://github.com/hyperledger-labs/acapy-java-client 4 | 5 | SPDX-License-Identifier: Apache-2.0 -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/ActionMenuFetchResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * ActionMenuFetchResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class ActionMenuFetchResult { 26 | public static final String SERIALIZED_NAME_RESULT = "result"; 27 | @SerializedName(SERIALIZED_NAME_RESULT) 28 | private Menu result; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/AdminConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * AdminConfig 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class AdminConfig { 26 | public static final String SERIALIZED_NAME_CONFIG = "config"; 27 | @SerializedName(SERIALIZED_NAME_CONFIG) 28 | private Object config; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/AdminModules.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * AdminModules 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class AdminModules { 28 | public static final String SERIALIZED_NAME_RESULT = "result"; 29 | @SerializedName(SERIALIZED_NAME_RESULT) 30 | private List result = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/AdminStatusLiveliness.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * AdminStatusLiveliness 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class AdminStatusLiveliness { 26 | public static final String SERIALIZED_NAME_ALIVE = "alive"; 27 | @SerializedName(SERIALIZED_NAME_ALIVE) 28 | private Boolean alive; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/AdminStatusReadiness.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * AdminStatusReadiness 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class AdminStatusReadiness { 26 | public static final String SERIALIZED_NAME_READY = "ready"; 27 | @SerializedName(SERIALIZED_NAME_READY) 28 | private Boolean ready; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/AttachDecoratorDataJWSHeader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * AttachDecoratorDataJWSHeader 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class AttachDecoratorDataJWSHeader { 26 | public static final String SERIALIZED_NAME_KID = "kid"; 27 | @SerializedName(SERIALIZED_NAME_KID) 28 | private String kid; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/AttributeMimeTypesResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.Map; 18 | 19 | /** 20 | * AttributeMimeTypesResult 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class AttributeMimeTypesResult { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private Map results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/ClearPendingRevocationsRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | import java.util.Map; 19 | 20 | /** 21 | * ClearPendingRevocationsRequest 22 | */ 23 | 24 | @lombok.Data 25 | @lombok.AllArgsConstructor 26 | @lombok.NoArgsConstructor 27 | @lombok.Builder 28 | public class ClearPendingRevocationsRequest { 29 | public static final String SERIALIZED_NAME_PURGE = "purge"; 30 | @SerializedName(SERIALIZED_NAME_PURGE) 31 | private Map> purge = null; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/ConfigurableWriteLedgers.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * ConfigurableWriteLedgers 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class ConfigurableWriteLedgers { 28 | public static final String SERIALIZED_NAME_WRITE_LEDGERS = "write_ledgers"; 29 | @SerializedName(SERIALIZED_NAME_WRITE_LEDGERS) 30 | private List writeLedgers = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/ConnectionList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * ConnectionList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class ConnectionList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/ConnectionMetadata.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * ConnectionMetadata 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class ConnectionMetadata { 26 | public static final String SERIALIZED_NAME_RESULTS = "results"; 27 | @SerializedName(SERIALIZED_NAME_RESULTS) 28 | private Object results; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/ConnectionMetadataSetRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * ConnectionMetadataSetRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class ConnectionMetadataSetRequest { 26 | public static final String SERIALIZED_NAME_METADATA = "metadata"; 27 | @SerializedName(SERIALIZED_NAME_METADATA) 28 | private Object metadata; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CreateWalletTokenRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * CreateWalletTokenRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class CreateWalletTokenRequest { 26 | public static final String SERIALIZED_NAME_WALLET_KEY = "wallet_key"; 27 | @SerializedName(SERIALIZED_NAME_WALLET_KEY) 28 | private String walletKey; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CreateWalletTokenResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * CreateWalletTokenResponse 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class CreateWalletTokenResponse { 26 | public static final String SERIALIZED_NAME_TOKEN = "token"; 27 | @SerializedName(SERIALIZED_NAME_TOKEN) 28 | private String token; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CredInfoList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * CredInfoList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class CredInfoList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CredRevIndyRecordsResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * CredRevIndyRecordsResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class CredRevIndyRecordsResult { 26 | public static final String SERIALIZED_NAME_REV_REG_DELTA = "rev_reg_delta"; 27 | @SerializedName(SERIALIZED_NAME_REV_REG_DELTA) 28 | private Object revRegDelta; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CredRevRecordDetailsResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * CredRevRecordDetailsResult 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class CredRevRecordDetailsResult { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CredRevRecordResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * CredRevRecordResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class CredRevRecordResult { 26 | public static final String SERIALIZED_NAME_RESULT = "result"; 27 | @SerializedName(SERIALIZED_NAME_RESULT) 28 | private IssuerCredRevRecord result; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CredRevokedResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * CredRevokedResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class CredRevokedResult { 26 | public static final String SERIALIZED_NAME_REVOKED = "revoked"; 27 | @SerializedName(SERIALIZED_NAME_REVOKED) 28 | private Boolean revoked; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CredentialDefinitionGetResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * CredentialDefinitionGetResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class CredentialDefinitionGetResult { 26 | public static final String SERIALIZED_NAME_CREDENTIAL_DEFINITION = "credential_definition"; 27 | @SerializedName(SERIALIZED_NAME_CREDENTIAL_DEFINITION) 28 | private CredentialDefinition credentialDefinition; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CredentialDefinitionSendResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * CredentialDefinitionSendResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class CredentialDefinitionSendResult { 26 | public static final String SERIALIZED_NAME_CREDENTIAL_DEFINITION_ID = "credential_definition_id"; 27 | @SerializedName(SERIALIZED_NAME_CREDENTIAL_DEFINITION_ID) 28 | private String credentialDefinitionId; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/CredentialStatusOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * CredentialStatusOptions 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class CredentialStatusOptions { 26 | public static final String SERIALIZED_NAME_TYPE = "type"; 27 | @SerializedName(SERIALIZED_NAME_TYPE) 28 | private String type; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/DIDEndpoint.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * DIDEndpoint 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class DIDEndpoint { 26 | public static final String SERIALIZED_NAME_DID = "did"; 27 | @SerializedName(SERIALIZED_NAME_DID) 28 | private String did; 29 | public static final String SERIALIZED_NAME_ENDPOINT = "endpoint"; 30 | @SerializedName(SERIALIZED_NAME_ENDPOINT) 31 | private String endpoint; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/DIDList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * DIDList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class DIDList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/DIDResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * DIDResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class DIDResult { 26 | public static final String SERIALIZED_NAME_RESULT = "result"; 27 | @SerializedName(SERIALIZED_NAME_RESULT) 28 | private DID result; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/DIDXRejectRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * DIDXRejectRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class DIDXRejectRequest { 26 | public static final String SERIALIZED_NAME_REASON = "reason"; 27 | @SerializedName(SERIALIZED_NAME_REASON) 28 | private String reason; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/DIFOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * DIFOptions 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class DIFOptions { 26 | public static final String SERIALIZED_NAME_CHALLENGE = "challenge"; 27 | @SerializedName(SERIALIZED_NAME_CHALLENGE) 28 | private String challenge; 29 | public static final String SERIALIZED_NAME_DOMAIN = "domain"; 30 | @SerializedName(SERIALIZED_NAME_DOMAIN) 31 | private String domain; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/Date.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.time.OffsetDateTime; 18 | 19 | /** 20 | * Date 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class Date { 28 | public static final String SERIALIZED_NAME_EXPIRES_TIME = "expires_time"; 29 | @SerializedName(SERIALIZED_NAME_EXPIRES_TIME) 30 | private OffsetDateTime expiresTime; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/Doc.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * Doc 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class Doc { 26 | public static final String SERIALIZED_NAME_CREDENTIAL = "credential"; 27 | @SerializedName(SERIALIZED_NAME_CREDENTIAL) 28 | private Object credential; 29 | public static final String SERIALIZED_NAME_OPTIONS = "options"; 30 | @SerializedName(SERIALIZED_NAME_OPTIONS) 31 | private SignatureOptions options; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/GetDIDEndpointResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * GetDIDEndpointResponse 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class GetDIDEndpointResponse { 26 | public static final String SERIALIZED_NAME_ENDPOINT = "endpoint"; 27 | @SerializedName(SERIALIZED_NAME_ENDPOINT) 28 | private String endpoint; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/GetDIDVerkeyResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * GetDIDVerkeyResponse 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class GetDIDVerkeyResponse { 26 | public static final String SERIALIZED_NAME_VERKEY = "verkey"; 27 | @SerializedName(SERIALIZED_NAME_VERKEY) 28 | private String verkey; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/IndyAttrValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * IndyAttrValue 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class IndyAttrValue { 26 | public static final String SERIALIZED_NAME_ENCODED = "encoded"; 27 | @SerializedName(SERIALIZED_NAME_ENCODED) 28 | private String encoded; 29 | public static final String SERIALIZED_NAME_RAW = "raw"; 30 | @SerializedName(SERIALIZED_NAME_RAW) 31 | private String raw; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/IndyNonRevocationInterval.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * IndyNonRevocationInterval 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class IndyNonRevocationInterval { 26 | public static final String SERIALIZED_NAME_FROM = "from"; 27 | @SerializedName(SERIALIZED_NAME_FROM) 28 | private Integer from; 29 | public static final String SERIALIZED_NAME_TO = "to"; 30 | @SerializedName(SERIALIZED_NAME_TO) 31 | private Integer to; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/IndyProofRequestNonRevoked.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * IndyProofRequestNonRevoked 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class IndyProofRequestNonRevoked { 26 | public static final String SERIALIZED_NAME_FROM = "from"; 27 | @SerializedName(SERIALIZED_NAME_FROM) 28 | private Integer from; 29 | public static final String SERIALIZED_NAME_TO = "to"; 30 | @SerializedName(SERIALIZED_NAME_TO) 31 | private Integer to; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/IndyProofRequestedProofPredicate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * IndyProofRequestedProofPredicate 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class IndyProofRequestedProofPredicate { 26 | public static final String SERIALIZED_NAME_SUB_PROOF_INDEX = "sub_proof_index"; 27 | @SerializedName(SERIALIZED_NAME_SUB_PROOF_INDEX) 28 | private Integer subProofIndex; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/IndyRevRegDefValuePublicKeys.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * IndyRevRegDefValuePublicKeys 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class IndyRevRegDefValuePublicKeys { 26 | public static final String SERIALIZED_NAME_ACCUM_KEY = "accumKey"; 27 | @SerializedName(SERIALIZED_NAME_ACCUM_KEY) 28 | private IndyRevRegDefValuePublicKeysAccumKey accumKey; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/IndyRevRegDefValuePublicKeysAccumKey.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * IndyRevRegDefValuePublicKeysAccumKey 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class IndyRevRegDefValuePublicKeysAccumKey { 26 | public static final String SERIALIZED_NAME_Z = "z"; 27 | @SerializedName(SERIALIZED_NAME_Z) 28 | private String z; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/IndyRevRegEntry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * IndyRevRegEntry 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class IndyRevRegEntry { 26 | public static final String SERIALIZED_NAME_VALUE = "value"; 27 | @SerializedName(SERIALIZED_NAME_VALUE) 28 | private IndyRevRegEntryValue value; 29 | public static final String SERIALIZED_NAME_VER = "ver"; 30 | @SerializedName(SERIALIZED_NAME_VER) 31 | private String ver; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/JWSVerify.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * JWSVerify 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class JWSVerify { 26 | public static final String SERIALIZED_NAME_JWT = "jwt"; 27 | @SerializedName(SERIALIZED_NAME_JWT) 28 | private String jwt; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/Keylist.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * Keylist 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class Keylist { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/KeylistQueryFilterRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * KeylistQueryFilterRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class KeylistQueryFilterRequest { 26 | public static final String SERIALIZED_NAME_FILTER = "filter"; 27 | @SerializedName(SERIALIZED_NAME_FILTER) 28 | private Object filter; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/KeylistQueryPaginate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * KeylistQueryPaginate 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class KeylistQueryPaginate { 26 | public static final String SERIALIZED_NAME_LIMIT = "limit"; 27 | @SerializedName(SERIALIZED_NAME_LIMIT) 28 | private Integer limit; 29 | public static final String SERIALIZED_NAME_OFFSET = "offset"; 30 | @SerializedName(SERIALIZED_NAME_OFFSET) 31 | private Integer offset; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/KeylistUpdateRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * KeylistUpdateRequest 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class KeylistUpdateRequest { 28 | public static final String SERIALIZED_NAME_UPDATES = "updates"; 29 | @SerializedName(SERIALIZED_NAME_UPDATES) 30 | private List updates = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/LedgerConfigList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.ArrayList; 18 | import java.util.List; 19 | 20 | /** 21 | * LedgerConfigList 22 | */ 23 | 24 | @lombok.Data 25 | @lombok.AllArgsConstructor 26 | @lombok.NoArgsConstructor 27 | @lombok.Builder 28 | public class LedgerConfigList { 29 | public static final String SERIALIZED_NAME_LEDGER_CONFIG_LIST = "ledger_config_list"; 30 | @SerializedName(SERIALIZED_NAME_LEDGER_CONFIG_LIST) 31 | private List ledgerConfigList = new ArrayList<>(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/MediationIdMatchInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.UUID; 18 | 19 | /** 20 | * MediationIdMatchInfo 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class MediationIdMatchInfo { 28 | public static final String SERIALIZED_NAME_MEDIATION_ID = "mediation_id"; 29 | @SerializedName(SERIALIZED_NAME_MEDIATION_ID) 30 | private UUID mediationId; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/MediationList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * MediationList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class MediationList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/PingRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * PingRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class PingRequest { 26 | public static final String SERIALIZED_NAME_COMMENT = "comment"; 27 | @SerializedName(SERIALIZED_NAME_COMMENT) 28 | private String comment; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/PingRequestResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * PingRequestResponse 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class PingRequestResponse { 26 | public static final String SERIALIZED_NAME_THREAD_ID = "thread_id"; 27 | @SerializedName(SERIALIZED_NAME_THREAD_ID) 28 | private String threadId; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/ProfileSettings.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * ProfileSettings 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class ProfileSettings { 26 | public static final String SERIALIZED_NAME_SETTINGS = "settings"; 27 | @SerializedName(SERIALIZED_NAME_SETTINGS) 28 | private Object settings; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/PublishRevocations.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | import java.util.Map; 19 | 20 | /** 21 | * PublishRevocations 22 | */ 23 | 24 | @lombok.Data 25 | @lombok.AllArgsConstructor 26 | @lombok.NoArgsConstructor 27 | @lombok.Builder 28 | public class PublishRevocations { 29 | public static final String SERIALIZED_NAME_RRID2CRID = "rrid2crid"; 30 | @SerializedName(SERIALIZED_NAME_RRID2CRID) 31 | private Map> rrid2crid = null; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/RawEncoded.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * RawEncoded 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class RawEncoded { 26 | public static final String SERIALIZED_NAME_ENCODED = "encoded"; 27 | @SerializedName(SERIALIZED_NAME_ENCODED) 28 | private String encoded; 29 | public static final String SERIALIZED_NAME_RAW = "raw"; 30 | @SerializedName(SERIALIZED_NAME_RAW) 31 | private String raw; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/RemoveWalletRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * RemoveWalletRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class RemoveWalletRequest { 26 | public static final String SERIALIZED_NAME_WALLET_KEY = "wallet_key"; 27 | @SerializedName(SERIALIZED_NAME_WALLET_KEY) 28 | private String walletKey; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/RevRegIssuedResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * RevRegIssuedResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class RevRegIssuedResult { 26 | public static final String SERIALIZED_NAME_RESULT = "result"; 27 | @SerializedName(SERIALIZED_NAME_RESULT) 28 | private Integer result; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/RevRegResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * RevRegResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class RevRegResult { 26 | public static final String SERIALIZED_NAME_RESULT = "result"; 27 | @SerializedName(SERIALIZED_NAME_RESULT) 28 | private IssuerRevRegRecord result; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/RevRegUpdateTailsFileUri.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * RevRegUpdateTailsFileUri 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class RevRegUpdateTailsFileUri { 26 | public static final String SERIALIZED_NAME_TAILS_PUBLIC_URI = "tails_public_uri"; 27 | @SerializedName(SERIALIZED_NAME_TAILS_PUBLIC_URI) 28 | private String tailsPublicUri; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/RevRegsCreated.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * RevRegsCreated 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class RevRegsCreated { 28 | public static final String SERIALIZED_NAME_REV_REG_IDS = "rev_reg_ids"; 29 | @SerializedName(SERIALIZED_NAME_REV_REG_IDS) 30 | private List revRegIds = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/SchemaGetResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * SchemaGetResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class SchemaGetResult { 26 | public static final String SERIALIZED_NAME_SCHEMA = "schema"; 27 | @SerializedName(SERIALIZED_NAME_SCHEMA) 28 | private Schema schema; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/SchemaInputDescriptor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * SchemaInputDescriptor 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class SchemaInputDescriptor { 26 | public static final String SERIALIZED_NAME_REQUIRED = "required"; 27 | @SerializedName(SERIALIZED_NAME_REQUIRED) 28 | private Boolean required; 29 | public static final String SERIALIZED_NAME_URI = "uri"; 30 | @SerializedName(SERIALIZED_NAME_URI) 31 | private String uri; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/SchemasCreatedResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * SchemasCreatedResult 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class SchemasCreatedResult { 28 | public static final String SERIALIZED_NAME_SCHEMA_IDS = "schema_ids"; 29 | @SerializedName(SERIALIZED_NAME_SCHEMA_IDS) 30 | private List schemaIds = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/SendMenu.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * SendMenu 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class SendMenu { 26 | public static final String SERIALIZED_NAME_MENU = "menu"; 27 | @SerializedName(SERIALIZED_NAME_MENU) 28 | private MenuJson menu; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/SendMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * SendMessage 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class SendMessage { 26 | public static final String SERIALIZED_NAME_CONTENT = "content"; 27 | @SerializedName(SERIALIZED_NAME_CONTENT) 28 | private String content; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/SignRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * SignRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class SignRequest { 26 | public static final String SERIALIZED_NAME_DOC = "doc"; 27 | @SerializedName(SERIALIZED_NAME_DOC) 28 | private Doc doc; 29 | public static final String SERIALIZED_NAME_VERKEY = "verkey"; 30 | @SerializedName(SERIALIZED_NAME_VERKEY) 31 | private String verkey; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/SignResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * SignResponse 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class SignResponse { 26 | public static final String SERIALIZED_NAME_ERROR = "error"; 27 | @SerializedName(SERIALIZED_NAME_ERROR) 28 | private String error; 29 | public static final String SERIALIZED_NAME_SIGNED_DOC = "signed_doc"; 30 | @SerializedName(SERIALIZED_NAME_SIGNED_DOC) 31 | private Object signedDoc; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/SignedDoc.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * SignedDoc 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class SignedDoc { 26 | public static final String SERIALIZED_NAME_PROOF = "proof"; 27 | @SerializedName(SERIALIZED_NAME_PROOF) 28 | private SignatureOptions proof; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/TAAAcceptance.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * TAAAcceptance 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class TAAAcceptance { 26 | public static final String SERIALIZED_NAME_MECHANISM = "mechanism"; 27 | @SerializedName(SERIALIZED_NAME_MECHANISM) 28 | private String mechanism; 29 | public static final String SERIALIZED_NAME_TIME = "time"; 30 | @SerializedName(SERIALIZED_NAME_TIME) 31 | private Integer time; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/TAAResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * TAAResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class TAAResult { 26 | public static final String SERIALIZED_NAME_RESULT = "result"; 27 | @SerializedName(SERIALIZED_NAME_RESULT) 28 | private TAAInfo result; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/TailsDeleteResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * TailsDeleteResponse 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class TailsDeleteResponse { 26 | public static final String SERIALIZED_NAME_MESSAGE = "message"; 27 | @SerializedName(SERIALIZED_NAME_MESSAGE) 28 | private String message; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/TransactionList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * TransactionList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class TransactionList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/TxnOrRevRegResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * TxnOrRevRegResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class TxnOrRevRegResult { 26 | public static final String SERIALIZED_NAME_SENT = "sent"; 27 | @SerializedName(SERIALIZED_NAME_SENT) 28 | private RevRegResult sent; 29 | public static final String SERIALIZED_NAME_TXN = "txn"; 30 | @SerializedName(SERIALIZED_NAME_TXN) 31 | private TransactionRecord txn; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/UpdateProfileSettings.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * UpdateProfileSettings 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class UpdateProfileSettings { 26 | public static final String SERIALIZED_NAME_EXTRA_SETTINGS = "extra_settings"; 27 | @SerializedName(SERIALIZED_NAME_EXTRA_SETTINGS) 28 | private Object extraSettings; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialBoundOfferRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V10CredentialBoundOfferRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V10CredentialBoundOfferRequest { 26 | public static final String SERIALIZED_NAME_COUNTER_PROPOSAL = "counter_proposal"; 27 | @SerializedName(SERIALIZED_NAME_COUNTER_PROPOSAL) 28 | private CredentialProposal counterProposal; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialExchangeAutoRemoveRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V10CredentialExchangeAutoRemoveRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V10CredentialExchangeAutoRemoveRequest { 26 | public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove"; 27 | @SerializedName(SERIALIZED_NAME_AUTO_REMOVE) 28 | private Boolean autoRemove; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialExchangeListResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * V10CredentialExchangeListResult 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class V10CredentialExchangeListResult { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialIssueRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V10CredentialIssueRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V10CredentialIssueRequest { 26 | public static final String SERIALIZED_NAME_COMMENT = "comment"; 27 | @SerializedName(SERIALIZED_NAME_COMMENT) 28 | private String comment; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialProblemReportRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V10CredentialProblemReportRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V10CredentialProblemReportRequest { 26 | public static final String SERIALIZED_NAME_DESCRIPTION = "description"; 27 | @SerializedName(SERIALIZED_NAME_DESCRIPTION) 28 | private String description; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialStoreRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V10CredentialStoreRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V10CredentialStoreRequest { 26 | public static final String SERIALIZED_NAME_CREDENTIAL_ID = "credential_id"; 27 | @SerializedName(SERIALIZED_NAME_CREDENTIAL_ID) 28 | private String credentialId; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10DiscoveryExchangeListResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * V10DiscoveryExchangeListResult 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class V10DiscoveryExchangeListResult { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationExchangeList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * V10PresentationExchangeList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class V10PresentationExchangeList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationProblemReportRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V10PresentationProblemReportRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V10PresentationProblemReportRequest { 26 | public static final String SERIALIZED_NAME_DESCRIPTION = "description"; 27 | @SerializedName(SERIALIZED_NAME_DESCRIPTION) 28 | private String description; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20CredExRecordListResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * V20CredExRecordListResult 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class V20CredExRecordListResult { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20CredFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20CredFilter 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20CredFilter { 26 | public static final String SERIALIZED_NAME_INDY = "indy"; 27 | @SerializedName(SERIALIZED_NAME_INDY) 28 | private V20CredFilterIndy indy; 29 | public static final String SERIALIZED_NAME_LD_PROOF = "ld_proof"; 30 | @SerializedName(SERIALIZED_NAME_LD_PROOF) 31 | private LDProofVCDetail ldProof; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20CredFilterLDProof.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20CredFilterLDProof 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20CredFilterLDProof { 26 | public static final String SERIALIZED_NAME_LD_PROOF = "ld_proof"; 27 | @SerializedName(SERIALIZED_NAME_LD_PROOF) 28 | private LDProofVCDetail ldProof; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20CredFormat.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20CredFormat 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20CredFormat { 26 | public static final String SERIALIZED_NAME_ATTACH_ID = "attach_id"; 27 | @SerializedName(SERIALIZED_NAME_ATTACH_ID) 28 | private String attachId; 29 | public static final String SERIALIZED_NAME_FORMAT = "format"; 30 | @SerializedName(SERIALIZED_NAME_FORMAT) 31 | private String format; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20CredIssueProblemReportRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20CredIssueProblemReportRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20CredIssueProblemReportRequest { 26 | public static final String SERIALIZED_NAME_DESCRIPTION = "description"; 27 | @SerializedName(SERIALIZED_NAME_DESCRIPTION) 28 | private String description; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20CredIssueRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20CredIssueRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20CredIssueRequest { 26 | public static final String SERIALIZED_NAME_COMMENT = "comment"; 27 | @SerializedName(SERIALIZED_NAME_COMMENT) 28 | private String comment; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20CredStoreRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20CredStoreRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20CredStoreRequest { 26 | public static final String SERIALIZED_NAME_CREDENTIAL_ID = "credential_id"; 27 | @SerializedName(SERIALIZED_NAME_CREDENTIAL_ID) 28 | private String credentialId; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20DiscoveryExchangeListResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * V20DiscoveryExchangeListResult 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class V20DiscoveryExchangeListResult { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20DiscoveryExchangeResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20DiscoveryExchangeResult 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20DiscoveryExchangeResult { 26 | public static final String SERIALIZED_NAME_RESULTS = "results"; 27 | @SerializedName(SERIALIZED_NAME_RESULTS) 28 | private V20DiscoveryRecord results; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20PresExRecordList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * V20PresExRecordList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class V20PresExRecordList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20PresFormat.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20PresFormat 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20PresFormat { 26 | public static final String SERIALIZED_NAME_ATTACH_ID = "attach_id"; 27 | @SerializedName(SERIALIZED_NAME_ATTACH_ID) 28 | private String attachId; 29 | public static final String SERIALIZED_NAME_FORMAT = "format"; 30 | @SerializedName(SERIALIZED_NAME_FORMAT) 31 | private String format; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/V20PresProblemReportRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * V20PresProblemReportRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class V20PresProblemReportRequest { 26 | public static final String SERIALIZED_NAME_DESCRIPTION = "description"; 27 | @SerializedName(SERIALIZED_NAME_DESCRIPTION) 28 | private String description; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/VCRecordList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * VCRecordList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class VCRecordList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/VerifyRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * VerifyRequest 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class VerifyRequest { 26 | public static final String SERIALIZED_NAME_DOC = "doc"; 27 | @SerializedName(SERIALIZED_NAME_DOC) 28 | private SignedDoc doc; 29 | public static final String SERIALIZED_NAME_VERKEY = "verkey"; 30 | @SerializedName(SERIALIZED_NAME_VERKEY) 31 | private String verkey; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/VerifyResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * VerifyResponse 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class VerifyResponse { 26 | public static final String SERIALIZED_NAME_ERROR = "error"; 27 | @SerializedName(SERIALIZED_NAME_ERROR) 28 | private String error; 29 | public static final String SERIALIZED_NAME_VALID = "valid"; 30 | @SerializedName(SERIALIZED_NAME_VALID) 31 | private Boolean valid; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/WalletList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | import java.util.List; 18 | 19 | /** 20 | * WalletList 21 | */ 22 | 23 | @lombok.Data 24 | @lombok.AllArgsConstructor 25 | @lombok.NoArgsConstructor 26 | @lombok.Builder 27 | public class WalletList { 28 | public static final String SERIALIZED_NAME_RESULTS = "results"; 29 | @SerializedName(SERIALIZED_NAME_RESULTS) 30 | private List results = null; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/acy_py/generated/model/WriteLedger.java: -------------------------------------------------------------------------------- 1 | /* 2 | * aca-py client 3 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 4 | * 5 | * The version of the OpenAPI document: v0.7.3 6 | * 7 | * 8 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 9 | * https://openapi-generator.tech 10 | * Do not edit the class manually. 11 | */ 12 | 13 | package org.hyperledger.acy_py.generated.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | 17 | /** 18 | * WriteLedger 19 | */ 20 | 21 | @lombok.Data 22 | @lombok.AllArgsConstructor 23 | @lombok.NoArgsConstructor 24 | @lombok.Builder 25 | public class WriteLedger { 26 | public static final String SERIALIZED_NAME_LEDGER_ID = "ledger_id"; 27 | @SerializedName(SERIALIZED_NAME_LEDGER_ID) 28 | private String ledgerId; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/ExchangeVersion.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api; 9 | 10 | public enum ExchangeVersion { 11 | /** credential or proof exchange version 1 */ 12 | V1, 13 | /** credential or proof exchange version 2 */ 14 | V2 15 | ; 16 | 17 | public boolean isV1() { 18 | return this.equals(ExchangeVersion.V1); 19 | } 20 | 21 | public boolean isV2() { 22 | return this.equals(ExchangeVersion.V2); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/action_menu/MenuForm.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.action_menu; 9 | 10 | import com.google.gson.annotations.SerializedName; 11 | import lombok.AllArgsConstructor; 12 | import lombok.Builder; 13 | import lombok.Data; 14 | import lombok.NoArgsConstructor; 15 | 16 | import java.util.List; 17 | 18 | @Data @Builder @NoArgsConstructor @AllArgsConstructor 19 | public class MenuForm { 20 | 21 | private String description; 22 | 23 | private List params; 24 | 25 | @SerializedName("submit-label") 26 | private String submitLabel; 27 | 28 | private String title = null; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/action_menu/MenuFormParam.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.action_menu; 9 | 10 | import com.google.gson.annotations.SerializedName; 11 | import lombok.*; 12 | 13 | @Data @Builder @NoArgsConstructor @AllArgsConstructor 14 | public class MenuFormParam { 15 | 16 | @SerializedName("default") 17 | private String _default; 18 | 19 | private String description; 20 | 21 | private String name; 22 | 23 | private Boolean required; 24 | 25 | @SerializedName("title") 26 | private String title; 27 | 28 | private String type; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/action_menu/MenuOption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.action_menu; 9 | 10 | import lombok.*; 11 | 12 | @Data @Builder @NoArgsConstructor @AllArgsConstructor 13 | public class MenuOption { 14 | private String description; 15 | private Boolean disabled; 16 | private MenuForm form; 17 | private String name; 18 | private String title; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/action_menu/PerformRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.action_menu; 9 | 10 | import lombok.*; 11 | 12 | import java.util.Map; 13 | 14 | @Data @Builder @NoArgsConstructor @AllArgsConstructor 15 | public class PerformRequest { 16 | private String name; 17 | private Map params; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/action_menu/SendMenu.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.action_menu; 9 | 10 | import com.google.gson.annotations.SerializedName; 11 | import lombok.*; 12 | 13 | import java.util.List; 14 | 15 | @Data @Builder @NoArgsConstructor @AllArgsConstructor 16 | public class SendMenu { 17 | 18 | private Menu menu; 19 | 20 | @Data @Builder @NoArgsConstructor @AllArgsConstructor 21 | public static class Menu { 22 | private String description; 23 | @SerializedName("errormsg") 24 | private String errorMsg; 25 | private List options; 26 | private String title; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionAcceptInvitationFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data 15 | @Builder 16 | public class ConnectionAcceptInvitationFilter implements AcaPyRequestFilter { 17 | /** Identifier for active mediation record to be used */ 18 | private String mediationId; 19 | 20 | /** My URL endpoint */ 21 | private String myEndpoint; 22 | 23 | /** Label for connection */ 24 | private String myLabel; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionAcceptRequestFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import org.hyperledger.aries.api.AcaPyRequestFilter; 14 | 15 | @Data @Builder @AllArgsConstructor 16 | public class ConnectionAcceptRequestFilter implements AcaPyRequestFilter { 17 | private String myEndpoint; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionAcceptance.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum ConnectionAcceptance { 14 | @JsonProperty("auto") 15 | @SerializedName("auto") 16 | AUTO, 17 | 18 | @JsonProperty("manual") 19 | @SerializedName("manual") 20 | MANUAL 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | import javax.annotation.Nullable; 15 | 16 | @Data @Builder 17 | public class ConnectionFilter implements AcaPyRequestFilter { 18 | @Nullable private String alias; 19 | @Nullable private ConnectionRecord.ConnectionProtocol connectionProtocol; 20 | @Nullable private String invitationKey; 21 | @Nullable private String myDid; 22 | @Nullable private ConnectionState state; 23 | @Nullable private String theirDid; 24 | @Nullable private String theirPublicDid; 25 | @Nullable private ConnectionTheirRole theirRole; 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionInitiator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum ConnectionInitiator { 14 | @JsonProperty("self") 15 | @SerializedName("self") 16 | SELF, 17 | 18 | @JsonProperty("external") 19 | @SerializedName("external") 20 | EXTERNAL 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionReceiveInvitationFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class ConnectionReceiveInvitationFilter implements AcaPyRequestFilter { 16 | private String alias; 17 | private Boolean autoAccept; 18 | private String mediationId; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionSetMetaDataRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | import java.util.Map; 16 | 17 | @Data @Builder @NoArgsConstructor @AllArgsConstructor 18 | public class ConnectionSetMetaDataRequest { 19 | private Map metadata; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionStaticRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 16 | public class ConnectionStaticRequest { 17 | private String alias; 18 | private String myDid; 19 | private String mySeed; 20 | private String theirDid; 21 | private String theirEndpoint; 22 | private String theirLabel; 23 | private String theirSeed; 24 | private String theirVerkey; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionStaticResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data @Builder @NoArgsConstructor @AllArgsConstructor 16 | public class ConnectionStaticResult { 17 | private String mvVerkey; 18 | private String myDid; 19 | private String myEndpoint; 20 | private ConnectionRecord record; 21 | private String theirDid; 22 | private String theirVerkey; 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/ConnectionTheirRole.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum ConnectionTheirRole { 14 | @JsonProperty("invitee") 15 | @SerializedName("invitee") 16 | INVITEE, 17 | 18 | @JsonProperty("requester") 19 | @SerializedName("requester") 20 | REQUESTER, 21 | 22 | @JsonProperty("inviter") 23 | @SerializedName("inviter") 24 | INVITER, 25 | 26 | @JsonProperty("responder") 27 | @SerializedName("responder") 28 | RESPONDER 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/CreateInvitationParams.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import com.google.gson.annotations.SerializedName; 11 | import lombok.AllArgsConstructor; 12 | import lombok.Builder; 13 | import lombok.Data; 14 | import lombok.NoArgsConstructor; 15 | import org.hyperledger.aries.api.AcaPyRequestFilter; 16 | 17 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 18 | public class CreateInvitationParams implements AcaPyRequestFilter { 19 | private String alias; 20 | private Boolean autoAccept; 21 | private Boolean multiUse; 22 | @SerializedName("public") 23 | private Boolean isPublic; 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/CreateInvitationRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import com.google.gson.JsonObject; 11 | import lombok.AllArgsConstructor; 12 | import lombok.Builder; 13 | import lombok.Data; 14 | import lombok.NoArgsConstructor; 15 | 16 | import java.util.List; 17 | 18 | /** 19 | * Connection create invitation request. 20 | * @since 0.6.0 21 | */ 22 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 23 | public class CreateInvitationRequest { 24 | private String mediationId; 25 | private JsonObject metadata; 26 | private String myLabel; 27 | private List recipientKeys; 28 | private List routingKeys; 29 | private String serviceEndpoint; 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/CreateInvitationResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Data; 12 | import lombok.NoArgsConstructor; 13 | import org.hyperledger.acy_py.generated.model.ConnectionInvitation; 14 | 15 | @Data @NoArgsConstructor @AllArgsConstructor 16 | public class CreateInvitationResponse { 17 | private String connectionId; 18 | private ConnectionInvitation invitation; 19 | private String invitationUrl; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/connection/EndpointResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.connection; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data @NoArgsConstructor 14 | public class EndpointResult { 15 | private String myEndpoint; 16 | private String theirEndpoint; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/credential_definition/CredentialDefinitionFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.credential_definition; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | import javax.annotation.Nullable; 15 | 16 | @Data @Builder 17 | public class CredentialDefinitionFilter implements AcaPyRequestFilter { 18 | @Deprecated @Nullable private String credentialDefinitionId; 19 | @Nullable private String credDefId; 20 | 21 | @Nullable private String issuerDid; 22 | @Nullable private String schemaId; 23 | @Nullable private String schemaIssuerDid; 24 | @Nullable private String schemaName; 25 | @Nullable private String schemaVersion; 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/credential_definition/CredentialDefinitionGetResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.credential_definition; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Data; 12 | import lombok.NoArgsConstructor; 13 | 14 | @Data 15 | @NoArgsConstructor 16 | @AllArgsConstructor 17 | public class CredentialDefinitionGetResult { 18 | private String ledgerId; 19 | private CredentialDefinition credentialDefinition; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/credentials/CredentialFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.credentials; 9 | 10 | import lombok.NonNull; 11 | 12 | import java.util.function.Predicate; 13 | 14 | public class CredentialFilter { 15 | 16 | public static Predicate credentialDefinitionId( 17 | @NonNull String credentialDefinitionId) { 18 | return c -> credentialDefinitionId.equals(c.getCredentialDefinitionId()); 19 | } 20 | 21 | public static Predicate schemaId( 22 | @NonNull String schemaId) { 23 | return c -> schemaId.equals(c.getSchemaId()); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/credentials/CredentialPreview.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.credentials; 9 | 10 | import com.google.gson.annotations.SerializedName; 11 | import lombok.*; 12 | 13 | import java.util.List; 14 | 15 | @Data @NoArgsConstructor @AllArgsConstructor 16 | public class CredentialPreview { 17 | 18 | @SerializedName("@type") 19 | private String type = "issue-credential/1.0/credential-preview"; 20 | 21 | private List attributes; 22 | 23 | public CredentialPreview(List attributes) { 24 | super(); 25 | this.attributes = attributes; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/credentials/CredentialRevokedFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.credentials; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data 15 | @Builder 16 | public class CredentialRevokedFilter implements AcaPyRequestFilter { 17 | private String from; 18 | private String to; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/credentials/ListCredentialsFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.credentials; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class ListCredentialsFilter implements AcaPyRequestFilter { 16 | private String query; 17 | private String start; 18 | private String wql; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/did_exchange/DidExchangeAcceptInvitationFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.did_exchange; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class DidExchangeAcceptInvitationFilter implements AcaPyRequestFilter { 16 | private String myEndpoint; 17 | private String myLabel; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/did_exchange/DidExchangeAcceptRequestFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.did_exchange; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class DidExchangeAcceptRequestFilter implements AcaPyRequestFilter { 16 | private String mediationId; 17 | private String myEndpoint; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/did_exchange/DidExchangeReceiveRequestFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.did_exchange; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class DidExchangeReceiveRequestFilter implements AcaPyRequestFilter { 16 | /** Alias for connection */ 17 | private String alias; 18 | 19 | /** Auto-accept connection (defaults to configuration */ 20 | private Boolean autoAccept; 21 | 22 | /** Identifier for active mediation record to be used */ 23 | private String mediationId; 24 | 25 | /** My URL endpoint */ 26 | private String myEndpoint; 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/discover_features/DiscoverFeaturesQueryFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.discover_features; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class DiscoverFeaturesQueryFilter implements AcaPyRequestFilter { 16 | private String comment; 17 | private String connectionId; 18 | private String query; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/discover_features/DiscoverFeaturesRecordsFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.discover_features; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class DiscoverFeaturesRecordsFilter implements AcaPyRequestFilter { 16 | private String connectionId; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/discover_features_v2/DiscoverFeaturesV2QueriesFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.discover_features_v2; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class DiscoverFeaturesV2QueriesFilter implements AcaPyRequestFilter { 16 | private String connectionId; 17 | private String queryGoalCode; 18 | private String queryProtocol; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/endorser/EndorseCreateRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.endorser; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 16 | public class EndorseCreateRequest { 17 | private String expiresTime; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/endorser/EndorseCreateRequestFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.endorser; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class EndorseCreateRequestFilter implements AcaPyRequestFilter { 16 | private String tranId; 17 | private Boolean endorserWriteTxn; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/endorser/EndorserInfoFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.endorser; 9 | 10 | import lombok.Data; 11 | import lombok.experimental.SuperBuilder; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @SuperBuilder 15 | public class EndorserInfoFilter implements AcaPyRequestFilter { 16 | private String connId; 17 | private Boolean createTransactionForEndorser; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/endorser/SetEndorserInfoFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.endorser; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class SetEndorserInfoFilter implements AcaPyRequestFilter { 16 | private String endorserDid; 17 | private String endorserName; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/endorser/SetEndorserRoleFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.endorser; 9 | 10 | import com.google.gson.annotations.SerializedName; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import org.hyperledger.aries.api.AcaPyRequestFilter; 14 | 15 | @Data @Builder 16 | public class SetEndorserRoleFilter implements AcaPyRequestFilter { 17 | private TransactionJobEnum transactionMyJob; 18 | 19 | public enum TransactionJobEnum { 20 | @SerializedName("TRANSACTION_AUTHOR") 21 | TRANSACTION_AUTHOR, 22 | 23 | @SerializedName("TRANSACTION_ENDORSER") 24 | TRANSACTION_ENDORSER, 25 | 26 | @SerializedName("reset") 27 | RESET 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/endorser/TransactionType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.endorser; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum TransactionType { 14 | @JsonProperty("1") 15 | @SerializedName("1") 16 | NYM, 17 | 18 | @JsonProperty("100") 19 | @SerializedName("100") 20 | ATTRIB, 21 | 22 | @JsonProperty("101") 23 | @SerializedName("101") 24 | SCHEMA, 25 | 26 | @JsonProperty("102") 27 | @SerializedName("102") 28 | CREDENTIIAL_DEFINITION, 29 | 30 | @JsonProperty("113") 31 | @SerializedName("113") 32 | REVOC_REG_DEF, 33 | 34 | @JsonProperty("114") 35 | @SerializedName("114") 36 | REVOC_REV_ID 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/exception/AriesException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.exception; 9 | 10 | import lombok.Getter; 11 | 12 | public class AriesException extends RuntimeException { 13 | 14 | private static final long serialVersionUID = 3021451664229724966L; 15 | 16 | @Getter private final int code; 17 | @Getter private final String message; 18 | 19 | public AriesException(int code, String message) { 20 | super(message); 21 | this.code = code; 22 | this.message = message; 23 | } 24 | 25 | public boolean codeIsNotFound() { 26 | return 404 == code; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/exception/AriesNetworkException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.exception; 9 | 10 | public class AriesNetworkException extends RuntimeException { 11 | 12 | public AriesNetworkException(String message) { 13 | super(message); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/exception/ParsingException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.exception; 9 | 10 | public class ParsingException extends RuntimeException { 11 | public ParsingException(String message) { 12 | super(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/introduction/ConnectionStartIntroductionFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.introduction; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import lombok.NonNull; 13 | import org.hyperledger.aries.api.AcaPyRequestFilter; 14 | 15 | @Data @Builder 16 | public final class ConnectionStartIntroductionFilter implements AcaPyRequestFilter { 17 | @NonNull private String targetConnectionId; 18 | private String message; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v1/CredentialExchangeInitiator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v1; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum CredentialExchangeInitiator { 14 | @JsonProperty("self") 15 | @SerializedName("self") 16 | SELF, 17 | 18 | @JsonProperty("external") 19 | @SerializedName("external") 20 | EXTERNAL 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v1/CredentialExchangeRole.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v1; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum CredentialExchangeRole { 14 | @JsonProperty("issuer") 15 | @SerializedName("issuer") 16 | ISSUER, 17 | @JsonProperty("holder") 18 | @SerializedName("holder") 19 | HOLDER 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v1/IssueCredentialRecordsFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v1; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | import javax.annotation.Nullable; 15 | 16 | @Data @Builder 17 | public class IssueCredentialRecordsFilter implements AcaPyRequestFilter { 18 | @Nullable private String connectionId; 19 | @Nullable private CredentialExchangeRole role; 20 | @Nullable private CredentialExchangeState state; 21 | @Nullable private String threadId; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v1/ThreadId.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v1; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data 14 | @NoArgsConstructor 15 | public class ThreadId { 16 | private String thid; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v1/V1CredentialCreate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v1; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | import org.hyperledger.aries.api.credentials.CredentialPreview; 15 | 16 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 17 | public class V1CredentialCreate { 18 | private Boolean autoRemove; 19 | private String comment; 20 | private String credDefId; 21 | private CredentialPreview credentialProposal; 22 | private String issuerDid; 23 | private String schemaId; 24 | private String schemaIssuerDid; 25 | private String schemaName; 26 | private String schemaVersion; 27 | private Boolean trace; 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v1/V1CredentialFreeOfferRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v1; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | import org.hyperledger.aries.api.credentials.CredentialPreview; 15 | 16 | /** 17 | * V1CredentialConnFreeOfferRequest 18 | */ 19 | @Data 20 | @AllArgsConstructor 21 | @NoArgsConstructor 22 | @Builder 23 | public class V1CredentialFreeOfferRequest { 24 | private Boolean autoIssue; 25 | private Boolean autoRemove; 26 | private String comment; 27 | private String credDefId; 28 | private CredentialPreview credentialPreview; 29 | private Boolean trace; 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v1/V1CredentialIssueRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v1; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data @NoArgsConstructor @Builder @AllArgsConstructor 16 | public class V1CredentialIssueRequest { 17 | private String comment; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v1/V1CredentialStoreRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v1; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data @NoArgsConstructor @Builder @AllArgsConstructor 16 | public class V1CredentialStoreRequest { 17 | private String credentialId; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v2/V20CredBoundOfferRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v2; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | /** 16 | * V20CredBoundOfferRequest 17 | */ 18 | @Data 19 | @AllArgsConstructor 20 | @NoArgsConstructor 21 | @Builder 22 | public class V20CredBoundOfferRequest { 23 | private V2CredentialExchangeFree.V2CredentialPreview counterPreview; 24 | private V2CredentialExchangeFree.V20CredFilter filter; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v2/V20CredOfferRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v2; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | import org.hyperledger.aries.api.credentials.CredentialPreview; 15 | 16 | import java.util.UUID; 17 | 18 | /** 19 | * V20CredOfferRequest 20 | */ 21 | @Data 22 | @AllArgsConstructor 23 | @NoArgsConstructor 24 | @Builder 25 | public class V20CredOfferRequest { 26 | private Boolean autoIssue; 27 | private Boolean autoRemove; 28 | private String comment; 29 | private UUID connectionId; 30 | private CredentialPreview credentialPreview; 31 | private V2CredentialExchangeFree.V20CredFilter filter; 32 | private Boolean trace; 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v2/V2IssueIndyCredentialEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v2; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | /** 14 | * Webhook/Websocket Event: 15 | * issue_credential_v2_0_indy event 16 | * contains credential revocation information for issued v2 credentials 17 | */ 18 | @Data @NoArgsConstructor 19 | public class V2IssueIndyCredentialEvent { 20 | private String revRegId; 21 | private String credExIndyId; 22 | private String credExId; 23 | private String updatedAt; 24 | private String createdAt; 25 | private String credRevId; 26 | private String credIdStored; // only set when holder 27 | private Object credRequestMetadata; // only set when holder 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/issue_credential_v2/V2IssueLDCredentialEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.issue_credential_v2; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | /** 14 | * Webhook/Websocket Event: 15 | * issue_credential_v2_0_ld_proof 16 | * contains wallet id's 17 | */ 18 | @Data 19 | @NoArgsConstructor 20 | public class V2IssueLDCredentialEvent { 21 | private String credExId; 22 | private String updatedAt; 23 | private String createdAt; 24 | private String credExLdProofId; 25 | /** w3c credential record_id */ 26 | private String credIdStored; // only set when holder 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/jsonld/ErrorResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.jsonld; 9 | 10 | import lombok.Data; 11 | 12 | @Data 13 | public class ErrorResponse { 14 | private String error; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/jsonld/LinkedDataProof.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.jsonld; 9 | 10 | import com.google.gson.annotations.SerializedName; 11 | 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data @NoArgsConstructor 16 | public final class LinkedDataProof { 17 | private String challenge; 18 | private String created; 19 | private String domain; 20 | private String jws; 21 | private String nonce; 22 | @SerializedName("proofPurpose") 23 | private String proofPurpose; 24 | @SerializedName("proofValue") 25 | private String proofValue; 26 | private ProofType type; 27 | @SerializedName("verificationMethod") 28 | private String verificationMethod; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/jsonld/ProofType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.jsonld; 9 | 10 | public enum ProofType { 11 | Ed25519Signature2018, 12 | BbsBlsSignature2020 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/jsonld/VerifyRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.jsonld; 9 | 10 | import com.google.gson.JsonObject; 11 | import lombok.AllArgsConstructor; 12 | import lombok.Builder; 13 | import lombok.Data; 14 | import lombok.NoArgsConstructor; 15 | 16 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 17 | public final class VerifyRequest { 18 | 19 | private String verkey; 20 | 21 | private JsonObject doc; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/jsonld/VerifyResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.jsonld; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data @NoArgsConstructor 14 | public final class VerifyResponse { 15 | private boolean valid; 16 | private String error; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/ledger/DidVerkeyResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.ledger; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Data; 12 | import lombok.NoArgsConstructor; 13 | 14 | @Data @NoArgsConstructor @AllArgsConstructor 15 | public class DidVerkeyResponse { 16 | private String verkey; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/ledger/EndpointResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.ledger; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data @NoArgsConstructor 14 | public class EndpointResponse { 15 | private String endpoint; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/ledger/IndyLedgerRoles.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.ledger; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum IndyLedgerRoles { 14 | 15 | @JsonProperty("STEWARD") 16 | @SerializedName("STEWARD") 17 | STEWARD, 18 | 19 | @JsonProperty("TRUSTEE") 20 | @SerializedName("TRUSTEE") 21 | TRUSTEE, 22 | 23 | @JsonProperty("ENDORSER") 24 | @SerializedName("ENDORSER") 25 | ENDORSER, 26 | 27 | @JsonProperty("NETWORK_MONITOR") 28 | @SerializedName("NETWORK_MONITOR") 29 | NETWORK_MONITOR, 30 | 31 | @JsonProperty("reset") 32 | @SerializedName("reset") 33 | RESET 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/ledger/RegisterNymFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.ledger; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import lombok.NonNull; 13 | import org.hyperledger.aries.api.AcaPyRequestFilter; 14 | 15 | @Data @Builder 16 | public final class RegisterNymFilter implements AcaPyRequestFilter { 17 | @NonNull 18 | private String did; 19 | @NonNull 20 | private String verkey; 21 | private String alias; 22 | private String connId; 23 | private Boolean createTransactionForEndorser; 24 | private IndyLedgerRoles role; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/ledger/TAAAccept.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.ledger; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 16 | public class TAAAccept { 17 | private String mechanism; 18 | private String text; 19 | private String version; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/mediation/MediationKeyListQueryFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.mediation; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class MediationKeyListQueryFilter implements AcaPyRequestFilter { 16 | @Builder.Default 17 | private Integer paginateLimit = -1; 18 | 19 | @Builder.Default 20 | private Integer paginateOffset = 0; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/mediation/MediationKeyListsFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.mediation; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | import lombok.Builder; 13 | import lombok.Data; 14 | import org.hyperledger.aries.api.AcaPyRequestFilter; 15 | 16 | @Data 17 | @Builder 18 | public class MediationKeyListsFilter implements AcaPyRequestFilter { 19 | private String connId; 20 | private MediatorRole role; 21 | 22 | public enum MediatorRole { 23 | @JsonProperty("client") 24 | @SerializedName("client") 25 | CLIENT, 26 | 27 | @JsonProperty("server") 28 | @SerializedName("server") 29 | SERVER 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/message/BasicMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.message; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Data; 12 | import lombok.NoArgsConstructor; 13 | 14 | @Data @NoArgsConstructor @AllArgsConstructor 15 | public class BasicMessage { 16 | private String connectionId; 17 | private String messageId; 18 | private String content; 19 | private String state; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/multitenancy/CreateWalletTokenRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.multitenancy; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data 16 | @Builder 17 | @NoArgsConstructor 18 | @AllArgsConstructor 19 | public class CreateWalletTokenRequest { 20 | /** Master key used for key derivation. Only required for unamanged wallets. */ 21 | private String walletKey; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/multitenancy/CreateWalletTokenResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.multitenancy; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data 14 | @NoArgsConstructor 15 | public class CreateWalletTokenResponse { 16 | /** Authorization token to authenticate wallet requests */ 17 | private String token; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/multitenancy/KeyManagementMode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.multitenancy; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum KeyManagementMode { 14 | @JsonProperty("managed") 15 | @SerializedName("managed") 16 | MANAGED 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/multitenancy/RemoveWalletRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.multitenancy; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data 16 | @Builder 17 | @NoArgsConstructor 18 | @AllArgsConstructor 19 | public class RemoveWalletRequest { 20 | /** Master key used for key derivation. Only required for unmanaged wallets. */ 21 | private String walletKey; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/multitenancy/UpdateWalletRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.multitenancy; 9 | 10 | import lombok.*; 11 | 12 | import java.util.List; 13 | import java.util.Map; 14 | 15 | @Data 16 | @Builder 17 | @NoArgsConstructor 18 | @AllArgsConstructor 19 | public class UpdateWalletRequest { 20 | @Singular 21 | private Map extraSettings; 22 | private String imageUrl; 23 | private String label; 24 | private WalletDispatchType walletDispatchType; 25 | private List walletWebhookUrls; 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/multitenancy/WalletDispatchType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.multitenancy; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | /** 14 | * Webhook target dispatch type for this wallet. 15 | * default - Dispatch only to webhooks associated with this wallet. 16 | * base - Dispatch only to webhooks associated with the base wallet. 17 | * both - Dispatch to both webhook targets. 18 | */ 19 | public enum WalletDispatchType { 20 | @JsonProperty("default") 21 | @SerializedName("default") 22 | DEFAULT, 23 | 24 | @JsonProperty("both") 25 | @SerializedName("both") 26 | BOTH, 27 | 28 | @JsonProperty("base") 29 | @SerializedName("base") 30 | BASE 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/multitenancy/WalletKeyDerivation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.multitenancy; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum WalletKeyDerivation { 14 | 15 | @JsonProperty("ARGON2I_MOD") 16 | @SerializedName("ARGON2I_MOD") 17 | ARGON2I_MOD, 18 | 19 | @JsonProperty("ARGON2I_INT") 20 | @SerializedName("ARGON2I_INT") 21 | ARGON2I_INT, 22 | 23 | @JsonProperty("RAW") 24 | @SerializedName("RAW") 25 | RAW; 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/multitenancy/WalletType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.multitenancy; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | /** 14 | * Wallet type 15 | */ 16 | public enum WalletType { 17 | @JsonProperty("askar") 18 | @SerializedName("askar") 19 | ASKAR, 20 | 21 | @JsonProperty("in_memory") 22 | @SerializedName("in_memory") 23 | IN_MEMORY, 24 | 25 | @JsonProperty("indy") 26 | @SerializedName("indy") 27 | INDY 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/out_of_band/AttachmentDef.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.out_of_band; 9 | 10 | import com.google.gson.annotations.SerializedName; 11 | import lombok.AllArgsConstructor; 12 | import lombok.Builder; 13 | import lombok.Data; 14 | import lombok.NoArgsConstructor; 15 | 16 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 17 | public class AttachmentDef { 18 | 19 | /** e.g. credential exchange id */ 20 | private String id; 21 | private AttachmentType type; 22 | 23 | public enum AttachmentType { 24 | @SerializedName("credential-offer") 25 | CREDENTIAL_OFFER, 26 | @SerializedName("present-proof") 27 | PRESENT_PROOF 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/out_of_band/CreateInvitationFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.out_of_band; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class CreateInvitationFilter implements AcaPyRequestFilter { 16 | private Boolean autoAccept; 17 | private Boolean multiUse; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/out_of_band/InvitationMessageTranslator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.out_of_band; 9 | 10 | import com.google.gson.JsonElement; 11 | import org.hyperledger.aries.config.GsonConfig; 12 | 13 | public interface InvitationMessageTranslator { 14 | 15 | JsonElement getInvitation(); 16 | 17 | default InvitationMessage asStringType() { 18 | return GsonConfig.defaultConfig().fromJson(getInvitation(), InvitationMessage.STRING_TYPE); 19 | } 20 | 21 | default InvitationMessage asRFC0067Type() { 22 | return GsonConfig.defaultConfig().fromJson(getInvitation(), InvitationMessage.RFC0067_TYPE); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/out_of_band/ReceiveInvitationFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.out_of_band; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class ReceiveInvitationFilter implements AcaPyRequestFilter { 16 | private String alias; 17 | private Boolean autoAccept; 18 | private String mediationId; 19 | private Boolean useExistingConnection; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/present_proof/AdminAPIMessageTracing.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.present_proof; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data @NoArgsConstructor 14 | public class AdminAPIMessageTracing { 15 | private Boolean trace; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/present_proof/PresentProofRecordsFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.present_proof; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | import javax.annotation.Nullable; 15 | 16 | @Data @Builder 17 | public class PresentProofRecordsFilter implements AcaPyRequestFilter { 18 | @Nullable private String connectionId; 19 | @Nullable private PresentationExchangeRole role; 20 | @Nullable private PresentationExchangeState state; 21 | @Nullable private String threadId; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/present_proof/PresentationExchangeInitiator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.present_proof; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum PresentationExchangeInitiator { 14 | @JsonProperty("self") 15 | @SerializedName("self") 16 | SELF, 17 | 18 | @JsonProperty("external") 19 | @SerializedName("external") 20 | EXTERNAL, 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/present_proof/PresentationExchangeRole.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.present_proof; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum PresentationExchangeRole { 14 | @JsonProperty("prover") 15 | @SerializedName("prover") 16 | PROVER, 17 | 18 | @JsonProperty("verifier") 19 | @SerializedName("verifier") 20 | VERIFIER, 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/present_proof_v2/PresentationFormat.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.present_proof_v2; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Getter; 12 | 13 | @AllArgsConstructor 14 | public enum PresentationFormat { 15 | 16 | INDY("indy"), 17 | DIF("dif"); 18 | 19 | @Getter 20 | private final String value; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/present_proof_v2/V20PresCreateRequestRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.present_proof_v2; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data 16 | @AllArgsConstructor 17 | @NoArgsConstructor 18 | @Builder 19 | public class V20PresCreateRequestRequest { 20 | private Boolean autoRemove; 21 | private Boolean autoVerify; 22 | private String comment; 23 | private V20PresSendRequestRequest.V20PresRequestByFormat presentationRequest; 24 | private Boolean trace; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/present_proof_v2/V20PresProposalRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.present_proof_v2; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | /** 16 | * V20PresProposalRequest 17 | */ 18 | @Data 19 | @AllArgsConstructor 20 | @NoArgsConstructor 21 | @Builder 22 | public class V20PresProposalRequest { 23 | private Boolean autoPresent; 24 | private Boolean autoRemove; 25 | private String comment; 26 | private String connectionId; 27 | private V20PresProposalByFormat presentationProposal; 28 | private Boolean trace; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/present_proof_v2/V20PresSpecByFormatRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.present_proof_v2; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | import org.hyperledger.aries.api.present_proof.SendPresentationRequest; 15 | 16 | /** 17 | * V20PresSpecByFormatRequest 18 | */ 19 | @Data 20 | @AllArgsConstructor 21 | @NoArgsConstructor 22 | @Builder 23 | public class V20PresSpecByFormatRequest { 24 | private Boolean autoRemove; 25 | private DIFPresSpec dif; 26 | private SendPresentationRequest indy; 27 | private Boolean trace; 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/revocation/DeleteTailsFileFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class DeleteTailsFileFilter implements AcaPyRequestFilter { 16 | private String credDefId; 17 | private String refRegId; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/revocation/FixRevocationEntryStateFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data 15 | @Builder 16 | public class FixRevocationEntryStateFilter implements AcaPyRequestFilter { 17 | @Builder.Default 18 | private Boolean applyLedgerUpdate = Boolean.TRUE; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/revocation/RevRegCreateRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import lombok.*; 11 | 12 | import javax.annotation.Nullable; 13 | 14 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 15 | public final class RevRegCreateRequest { 16 | @NonNull private String credentialDefinitionId; 17 | /** Maximum credentials, minimum 4, maximum 32768 */ 18 | @Nullable private Integer maxCredNum; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/revocation/RevRegCreateResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data @NoArgsConstructor 14 | public class RevRegCreateResponse { 15 | @Data @NoArgsConstructor 16 | public static final class RevocationModuleResponse { 17 | // epmty for now 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/revocation/RevRegUpdateTailsFileUri.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | import lombok.NonNull; 15 | 16 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 17 | public final class RevRegUpdateTailsFileUri { 18 | @NonNull private String tailsPublicUri; 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/revocation/RevRegsCreated.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | import java.util.List; 14 | 15 | @Data @NoArgsConstructor 16 | public class RevRegsCreated { 17 | private List revRegIds; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/revocation/RevocationCredentialRecordFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.aries.api.AcaPyRequestFilter; 13 | 14 | @Data @Builder 15 | public class RevocationCredentialRecordFilter implements AcaPyRequestFilter { 16 | /** Credential exchange identifier */ 17 | private String credExId; 18 | /** Credential revocation identifier */ 19 | private String credRevId; 20 | /** Revocation registry identifier */ 21 | private String revRegId; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/revocation/RevocationNotificationEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import lombok.*; 11 | 12 | /** 13 | * Webhook event: revocation-notification 14 | * aries-rfc: 0183-revocation-notification 15 | */ 16 | @Data 17 | @NoArgsConstructor 18 | @AllArgsConstructor 19 | @Builder 20 | @EqualsAndHashCode(callSuper = true) 21 | public class RevocationNotificationEvent extends RevocationNotificationBase { 22 | private String threadId; 23 | private String comment; 24 | 25 | /** 26 | * Extracts revocation information form the threadId 27 | * @return {@link RevocationInfo} 28 | */ 29 | public RevocationInfo toRevocationInfo() { 30 | return expressionToRevocationInfo(threadId, 3); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/schema/SchemaSendRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.schema; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | 13 | import javax.annotation.Nonnull; 14 | import java.util.List; 15 | 16 | @Data @Builder 17 | public final class SchemaSendRequest { 18 | @Nonnull 19 | private List attributes; 20 | @Nonnull 21 | private String schemaName; 22 | @Nonnull 23 | private String schemaVersion; 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/schema/SchemasCreatedFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.schema; 9 | 10 | import org.hyperledger.aries.api.AcaPyRequestFilter; 11 | 12 | import lombok.Builder; 13 | import lombok.Data; 14 | 15 | /** 16 | * A filter which can be used to let aca-py look for special criteria of schemas. 17 | */ 18 | @Data 19 | @Builder 20 | public class SchemasCreatedFilter implements AcaPyRequestFilter { 21 | private String schemaId; 22 | private String schemaIssuerDid; 23 | private String schemaName; 24 | private String schemaVersion; 25 | } -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/serializer/JsonObjectSerializer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.serializer; 9 | 10 | import com.fasterxml.jackson.core.JsonGenerator; 11 | import com.fasterxml.jackson.databind.JsonSerializer; 12 | import com.fasterxml.jackson.databind.SerializerProvider; 13 | import com.google.gson.JsonObject; 14 | 15 | import java.io.IOException; 16 | 17 | public class JsonObjectSerializer extends JsonSerializer { 18 | 19 | @Override 20 | public void serialize(JsonObject jo, JsonGenerator gen, SerializerProvider serializerProvider) throws IOException { 21 | gen.writeRawValue(jo.toString()); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/server/AdminStatusLiveliness.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.server; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data @NoArgsConstructor 14 | public class AdminStatusLiveliness { 15 | private boolean alive; 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/server/AdminStatusReadiness.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.server; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | @Data @NoArgsConstructor 14 | public class AdminStatusReadiness { 15 | private Boolean ready; 16 | 17 | public boolean isReady() { 18 | return Boolean.TRUE.equals(ready); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/settings/Settings.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.settings; 9 | 10 | import lombok.Data; 11 | import lombok.NoArgsConstructor; 12 | 13 | /** 14 | * Websocket event payload 15 | * 16 | *
17 |  * {@code
18 |  * "payload": {
19 |  *     "authenticated": true,
20 |  *     "label": "Aries Cloud Agent",
21 |  *     "endpoint": "http://localhost:8030",
22 |  *     "no_receive_invites": false,
23 |  *     "help_link": null
24 |  * }
25 |  * }
26 |  * 
27 | */ 28 | @Data 29 | @NoArgsConstructor 30 | public class Settings { 31 | private boolean authenticated; 32 | private boolean noReceiveInvites; 33 | private String label; 34 | private String endpoint; 35 | private String helpLink; 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/settings/UpdateProfileSettings.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.settings; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import lombok.Singular; 13 | 14 | import java.util.Map; 15 | 16 | @Builder @Data 17 | public class UpdateProfileSettings { 18 | @Singular 19 | private Map extraSettings; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/trustping/PingEventState.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.trustping; 9 | 10 | import com.fasterxml.jackson.annotation.JsonProperty; 11 | import com.google.gson.annotations.SerializedName; 12 | 13 | public enum PingEventState { 14 | 15 | /** 16 | * Agent received a ping event 17 | */ 18 | @JsonProperty("received") 19 | @SerializedName(value = "received") 20 | RECEIVED, 21 | 22 | /** 23 | * Pinging agent received a response 24 | */ 25 | @JsonProperty("response_received") 26 | @SerializedName(value = "response_received") 27 | RESPONSE_RECEIVED 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/trustping/PingRequest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.trustping; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Builder; 12 | import lombok.Data; 13 | import lombok.NoArgsConstructor; 14 | 15 | @Data @NoArgsConstructor @AllArgsConstructor @Builder 16 | public class PingRequest { 17 | private String comment; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/trustping/PingResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.trustping; 9 | 10 | import lombok.AllArgsConstructor; 11 | import lombok.Data; 12 | import lombok.NoArgsConstructor; 13 | 14 | @Data @NoArgsConstructor @AllArgsConstructor 15 | public class PingResponse { 16 | private String threadId; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/wallet/DefaultDidMethod.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.wallet; 9 | 10 | 11 | import lombok.AllArgsConstructor; 12 | import lombok.Getter; 13 | 14 | @AllArgsConstructor @Getter 15 | public enum DefaultDidMethod { 16 | KEY("key"), 17 | SOV("sov"); 18 | 19 | private String method; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/api/wallet/ListWalletDidFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2023 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.wallet; 9 | 10 | import lombok.Builder; 11 | import lombok.Data; 12 | import org.hyperledger.acy_py.generated.model.DID; 13 | import org.hyperledger.aries.api.AcaPyRequestFilter; 14 | 15 | @Data 16 | @Builder 17 | public class ListWalletDidFilter implements AcaPyRequestFilter { 18 | /** did of interest */ 19 | private String did; 20 | 21 | /** Key type to query for */ 22 | private DID.KeyTypeEnum keyType; 23 | 24 | /** did method to query for */ 25 | private String method; 26 | 27 | /** Whether did is current public, or wallet only */ 28 | private DID.PostureEnum posture; 29 | 30 | /** verification key of interest */ 31 | private String verkey; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/config/CredDefId.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.config; 9 | 10 | /** 11 | * Keeps track of all the ways one can spell credential definition id. 12 | */ 13 | public class CredDefId { 14 | public static final String CREDENTIAL_DEFINITION_ID = "credential_definition_id"; 15 | public static final String CRED_DEF_ID = "cred_def_id"; 16 | public static final String CREDDEFID = "credDefId"; 17 | public static final String CREDENTIALDEFINITIONID = "credentialDefinitionId"; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/config/TimeUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.config; 9 | 10 | import javax.annotation.Nullable; 11 | import java.time.Instant; 12 | import java.time.format.DateTimeFormatter; 13 | import java.time.temporal.ChronoUnit; 14 | 15 | public class TimeUtil { 16 | 17 | private static final DateTimeFormatter ISO_INSTANT_FORMATTER = DateTimeFormatter.ISO_INSTANT; 18 | 19 | public static String currentTimeFormatted() { 20 | return currentTimeFormatted(Instant.now()); 21 | } 22 | 23 | public static String currentTimeFormatted(@Nullable Instant instant) { 24 | if (instant == null) { 25 | return null; 26 | } 27 | return ISO_INSTANT_FORMATTER.format(instant.truncatedTo(ChronoUnit.SECONDS)); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/config/UriUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.config; 9 | 10 | import lombok.NonNull; 11 | 12 | import java.net.URI; 13 | 14 | public class UriUtil { 15 | 16 | public static String httpToWs(@NonNull String url) { 17 | URI uri = URI.create(url); 18 | String scheme = "https".equals(uri.getScheme()) ? "wss" : "ws"; 19 | String host = uri.getHost(); 20 | int port = uri.getPort(); 21 | String ifPort = port > 0 ? ":" + port : ""; 22 | return scheme + "://" + host + ifPort + "/ws"; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/pojo/AttributeGroupName.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.pojo; 9 | 10 | import java.lang.annotation.ElementType; 11 | import java.lang.annotation.Retention; 12 | import java.lang.annotation.RetentionPolicy; 13 | import java.lang.annotation.Target; 14 | 15 | @Retention(RetentionPolicy.RUNTIME) 16 | @Target({ ElementType.TYPE }) 17 | public @interface AttributeGroupName { 18 | 19 | /** 20 | * @return the desired name of the attribute group 21 | */ 22 | String value() default ""; 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/pojo/AttributeName.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.pojo; 9 | 10 | import java.lang.annotation.ElementType; 11 | import java.lang.annotation.Retention; 12 | import java.lang.annotation.RetentionPolicy; 13 | import java.lang.annotation.Target; 14 | 15 | /** 16 | * Used to influence field handling in POJOs 17 | */ 18 | @Retention(RetentionPolicy.RUNTIME) 19 | @Target({ ElementType.FIELD }) 20 | public @interface AttributeName { 21 | 22 | /** 23 | * @return the desired name of the field 24 | */ 25 | String value() default ""; 26 | 27 | /** 28 | * @return if the field is excluded from processing 29 | */ 30 | boolean excluded() default false; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/webhook/IEventHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.webhook; 9 | 10 | public interface IEventHandler { 11 | 12 | /** 13 | * Handler for regular wallets 14 | * @param topic event type 15 | * @param payload json payload 16 | */ 17 | void handleEvent(String topic, String payload); 18 | 19 | /** 20 | * Handler for multi tenant wallets 21 | * @param walletId x-wallet-id HTTP header value 22 | * @param topic event type 23 | * @param payload json payload 24 | */ 25 | void handleEvent(String walletId, String topic, String payload); 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/org/hyperledger/aries/webhook/IFailureHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.webhook; 9 | 10 | public interface IFailureHandler { 11 | void onFailure(); 12 | } 13 | -------------------------------------------------------------------------------- /src/test/java/org/hyperledger/aries/AriesClientBuilderTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries; 9 | 10 | import okhttp3.OkHttpClient; 11 | import org.junit.jupiter.api.Test; 12 | 13 | class AriesClientBuilderTest { 14 | 15 | @Test 16 | void testBuild() { 17 | final String url = "https://foo.fr"; 18 | AriesClient.builder().build(); 19 | AriesClient.builder().url(url).build(); 20 | 21 | AriesClient.builder().url(url).apiKey(null).build(); 22 | AriesClient.builder().url(url).apiKey("123").build(); 23 | 24 | AriesClient.builder().url(url).apiKey(null).client(null).build(); 25 | AriesClient.builder().url(url).apiKey(null).client(new OkHttpClient()).build(); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/test/java/org/hyperledger/aries/api/discover_features/DiscoverFeaturesTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.discover_features; 9 | 10 | import org.hyperledger.acy_py.generated.model.V10DiscoveryRecord; 11 | import org.hyperledger.aries.IntegrationTestBase; 12 | import org.junit.jupiter.api.Assertions; 13 | import org.junit.jupiter.api.Test; 14 | 15 | public class DiscoverFeaturesTest extends IntegrationTestBase { 16 | 17 | @Test 18 | void testQuery() throws Exception { 19 | V10DiscoveryRecord v10DiscoveryRecord = ac.discoverFeaturesQuery(DiscoverFeaturesQueryFilter.builder().build()) 20 | .orElseThrow(); 21 | Assertions.assertNotNull(v10DiscoveryRecord.getDisclose()); 22 | Assertions.assertNotNull(v10DiscoveryRecord.getDisclose().getAtId()); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/test/java/org/hyperledger/aries/api/revocation/RevocationTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2021 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.api.revocation; 9 | 10 | import org.hyperledger.aries.IntegrationTestBase; 11 | import org.hyperledger.aries.api.exception.AriesException; 12 | import org.junit.jupiter.api.Test; 13 | 14 | import static org.junit.jupiter.api.Assertions.assertThrows; 15 | 16 | class RevocationTest extends IntegrationTestBase { 17 | 18 | @Test 19 | void testCreateRevRegFailure() { 20 | assertThrows(AriesException.class, () -> ac.revocationCreateRegistry(RevRegCreateRequest 21 | .builder() 22 | .credentialDefinitionId("VoSfM3eGaPxduty34ySygw:3:CL:571:sparta_bank") 23 | .build())); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/test/java/org/hyperledger/aries/util/UriUtilTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020-2022 - for information on the respective copyright owner 3 | * see the NOTICE file and/or the repository at 4 | * https://github.com/hyperledger-labs/acapy-java-client 5 | * 6 | * SPDX-License-Identifier: Apache-2.0 7 | */ 8 | package org.hyperledger.aries.util; 9 | 10 | import org.hyperledger.aries.config.UriUtil; 11 | import org.junit.jupiter.api.Assertions; 12 | import org.junit.jupiter.api.Test; 13 | 14 | public class UriUtilTest { 15 | 16 | @Test 17 | void testHttpToWs() { 18 | Assertions.assertEquals("ws://localhost/ws", UriUtil.httpToWs("http://localhost")); 19 | Assertions.assertEquals("wss://localhost/ws", UriUtil.httpToWs("https://localhost")); 20 | Assertions.assertEquals("ws://localhost:8080/ws", UriUtil.httpToWs("http://localhost:8080")); 21 | Assertions.assertEquals("wss://localhost:8080/ws", UriUtil.httpToWs("https://localhost:8080")); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/test/resources/events/connection-active.json: -------------------------------------------------------------------------------- 1 | { 2 | "my_did": "CQDaiHDfLw5smU6mjQe7HQ", 3 | "accept": "auto", 4 | "connection_id": "4fb496dd-954e-475f-a7c7-69a12493cc07", 5 | "updated_at": "2020-06-17 10:22:20.002978Z", 6 | "created_at": "2020-06-17 10:22:18.597624Z", 7 | "invitation_mode": "once", 8 | "their_did": "EPzAjhKCJuaxr7FVXctvp3", 9 | "request_id": "99c14bfe-2334-4321-8b5e-8c9b6f6e9537", 10 | "routing_state": "none", 11 | "alias": "TestCorp", 12 | "state": "active", 13 | "initiator": "external" 14 | } -------------------------------------------------------------------------------- /src/test/resources/events/problem-report-object.json: -------------------------------------------------------------------------------- 1 | { 2 | "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/notification/1.0/problem-report", 3 | "@id": "da6a743c-8df0-4b87-a582-f5ba9f65da77", 4 | "~thread": { 5 | "thid": "eea5deff-d3c8-4053-91f6-62c240b7447d" 6 | }, 7 | "description": { 8 | "en": "dummy", 9 | "code": "message-parse-failure" 10 | } 11 | } -------------------------------------------------------------------------------- /src/test/resources/events/problem-report-string.json: -------------------------------------------------------------------------------- 1 | { 2 | "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/notification/1.0/problem-report", 3 | "@id": "da6a743c-8df0-4b87-a582-f5ba9f65da77", 4 | "~thread": { 5 | "thid": "eea5deff-d3c8-4053-91f6-62c240b7447d" 6 | }, 7 | "description": "dummy" 8 | } -------------------------------------------------------------------------------- /src/test/resources/files/connection.json: -------------------------------------------------------------------------------- 1 | { 2 | "invitation_key": "8gdhRLtvJHzKoJGyuEqgdN1QZGYfai4wMHFGgtfDXg3D", 3 | "invitation_mode": "once", 4 | "their_label": "bob", 5 | "their_role": "inviter", 6 | "connection_protocol": "connections/1.0", 7 | "rfc23_state": "request-sent", 8 | "accept": "auto", 9 | "routing_state": "none", 10 | "updated_at": "2021-07-05 12:27:31.979933Z", 11 | "their_did": "CsqqtKN3Se89LoV5MPGC8Z", 12 | "state": "request", 13 | "my_did": "XWKk9DP2ZBKMmiwLSAAdE9", 14 | "connection_id": "bc349b33-00cd-4419-a432-82cdf7142bd7", 15 | "created_at": "2021-07-05 12:27:31.979933Z" 16 | } -------------------------------------------------------------------------------- /src/test/resources/files/credential.json: -------------------------------------------------------------------------------- 1 | { 2 | "referent": "db439a72-a5c4-418c-b73e-e68545c326dc", 3 | "attrs": { 4 | "title": "IATF Test Corp", 5 | "valid_until": "2021-03-08T19:39:27Z", 6 | "issued_at": "2020-03-08T18:39:49Z" 7 | }, 8 | "schema_id": "CHysca6fY8n8ytCDLAJGZj:2:certificate:1.0", 9 | "cred_def_id": "RupFs4ns7UmyGvWKizU56o:3:CL:133:IATF16949", 10 | "rev_reg_id": null, 11 | "cred_rev_id": null 12 | } -------------------------------------------------------------------------------- /src/test/resources/files/didexchange/didexchange-create-request.json: -------------------------------------------------------------------------------- 1 | { 2 | "connection_id": "efc63274-5d90-42ee-ad7f-60d6eb77c1cf", 3 | "my_did": "7pBbpBo9vxQje3WrdKrzLe", 4 | "accept": "manual", 5 | "their_role": "inviter", 6 | "their_public_did": "F6dB7dMVHUQSC64qemnBi7", 7 | "updated_at": "2021-07-05 12:16:01.907733Z", 8 | "created_at": "2021-07-05 12:16:01.895979Z", 9 | "connection_protocol": "didexchange/1.0", 10 | "routing_state": "none", 11 | "request_id": "98c91f5d-beb7-447d-bd4b-90e8acfa7524", 12 | "their_did": "F6dB7dMVHUQSC64qemnBi7", 13 | "invitation_mode": "once", 14 | "state": "request", 15 | "rfc23_state": "request-sent" 16 | } -------------------------------------------------------------------------------- /src/test/resources/files/invitation.json: -------------------------------------------------------------------------------- 1 | { 2 | "connection_id": "d16dc0bf-bd55-4dd3-842f-87b14760b95d", 3 | "invitation": { 4 | "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/connections/1.0/invitation", 5 | "@id": "aa949ea5-e7d6-4087-8246-c1f99a5c60d6", 6 | "recipientKeys": [ 7 | "E7gc1zVooBTa4oGWb3Eh1iYUydtyM8bwBqoDRQsKA82D" 8 | ], 9 | "label": "JgLZdcogY4AksRvMomzDY8", 10 | "serviceEndpoint": "https://mintgreenlucky.aries.test-corp.de:8080" 11 | }, 12 | "invitation_url": "https://mintgreenlucky.aries.test-corp.de:8080?c_i=eyJAdHlwZSI6ICJkaWQ6c292OkJ6Q2JzTlloTXJqSGlxWkRUVUFTSGc7c3BlYy9jb25uZWN0aW9ucy8xLjAvaW52aXRhdGlvbiIsICJAaWQiOiAiYWE5NDllYTUtZTdkNi00MDg3LTgyNDYtYzFmOTlhNWM2MGQ2IiwgInJlY2lwaWVudEtleXMiOiBbIkU3Z2MxelZvb0JUYTRvR1diM0VoMWlZVXlkdHlNOGJ3QnFvRFJRc0tBODJEIl0sICJsYWJlbCI6ICJKZ0xaZGNvZ1k0QWtzUnZNb216RFk4IiwgInNlcnZpY2VFbmRwb2ludCI6ICJodHRwczovL21pbnRncmVlbmx1Y2t5LmFyaWVzLnRlc3QtY29ycC5kZTo4MDgwIn0=" 13 | } -------------------------------------------------------------------------------- /src/test/resources/files/present-proof-records-credentials.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "cred_info": { 4 | "referent": "678c9dc0-f4d5-4f06-8065-cc96be08bdad", 5 | "attrs": { 6 | "name": "bpa" 7 | }, 8 | "schema_id": "Jwej9hnHDh3nSU3G7E447W:2:abc-schema:1.0", 9 | "cred_def_id": "Jwej9hnHDh3nSU3G7E447W:3:CL:12:default", 10 | "rev_reg_id": null, 11 | "cred_rev_id": null 12 | }, 13 | "interval": null, 14 | "presentation_referents": [ 15 | "name" 16 | ] 17 | }, 18 | { 19 | "cred_info": { 20 | "referent": "fcc897b0-8af7-4138-aac4-17560a05178a", 21 | "attrs": { 22 | "iban": "FR7630006000011234567890189", 23 | "bic": "AGRIFRPP" 24 | }, 25 | "schema_id": "M6Mbe3qx7vB4wpZF4sBRjt:2:bank_account:1.0", 26 | "cred_def_id": "M6Mbe3qx7vB4wpZF4sBRjt:3:CL:571:Bank Account V2", 27 | "rev_reg_id": null, 28 | "cred_rev_id": null 29 | }, 30 | "interval": null, 31 | "presentation_referents": [ 32 | "referent" 33 | ] 34 | } 35 | ] -------------------------------------------------------------------------------- /src/test/resources/files/present-proof-v2/matching-dif-credential.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@context": [ 4 | "https://www.w3.org/2018/credentials/v1", 5 | "https://w3id.org/citizenship/v1" 6 | ], 7 | "type": [ 8 | "VerifiableCredential", 9 | "PermanentResident" 10 | ], 11 | "issuer": "did:sov:2BgZAEcbXcBfqW2R2VmFET", 12 | "issuanceDate": "2022-05-02T14:57:39Z", 13 | "credentialSubject": { 14 | "identifier": "1234", 15 | "name": "Hugo", 16 | "id": "did:sov:F6dB7dMVHUQSC64qemnBi7" 17 | }, 18 | "proof": { 19 | "type": "Ed25519Signature2018", 20 | "proofPurpose": "assertionMethod", 21 | "verificationMethod": "did:sov:2BgZAEcbXcBfqW2R2VmFET#key-1", 22 | "created": "2022-05-02T14:57:54.903206+00:00", 23 | "jws": "eyJhbGciOiAiRWREU0EiLCAiYjY0IjogZmFsc2UsICJjcml0IjogWyJiNjQiXX0..EEihqZ2V8Gh4TZxmXtpKyYw5yAi24SURbYMnTdrM4YBPy2KC_64yMRhTvqSTUEFsOXIn__jz2JvyRQzQWD6LDw" 24 | }, 25 | "record_id": "495e5da7fec34e2f90e5f4344a58035c" 26 | } 27 | ] -------------------------------------------------------------------------------- /src/test/resources/files/revocation/revRegsCreated.json: -------------------------------------------------------------------------------- 1 | { 2 | "rev_reg_ids": [ 3 | "VoSfM3eGaPxduty34ySygw:4:VoSfM3eGaPxduty34ySygw:3:CL:571:sparta_bank:CL_ACCUM:58d9bb8c-a156-42a1-980f-d2ced76e09c6", 4 | "VoSfM3eGaPxduty34ySygw:4:VoSfM3eGaPxduty34ySygw:3:CL:571:sparta_bank:CL_ACCUM:fa566996-9b61-4fb0-a22a-837e87a3d767" 5 | ] 6 | } -------------------------------------------------------------------------------- /src/test/resources/files/schemas/schemaGetResults.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema": { 3 | "ver": "1.0", 4 | "id": "M6Mbe3qx7vB4wpZF4sBRjt:2:bank_account:1.0", 5 | "name": "bank_account", 6 | "version": "1.0", 7 | "attrNames": [ 8 | "iban", 9 | "bic" 10 | ], 11 | "seqNo": 571 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/resources/files/schemas/schemaSendResults.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema_id": "M6Mbe3qx7vB4wpZF4sBRjt:2:prefs:1.0", 3 | "schema": { 4 | "ver": "1.0", 5 | "id": "M6Mbe3qx7vB4wpZF4sBRjt:2:prefs:1.0", 6 | "name": "prefs", 7 | "version": "1.0", 8 | "attrNames": [ 9 | "score" 10 | ], 11 | "seqNo": 550 12 | } 13 | } -------------------------------------------------------------------------------- /src/test/resources/json-ld/verifiableCredentialUnsigned.json: -------------------------------------------------------------------------------- 1 | { 2 | "indyIssuer": "did:sov:iil:M6Mbe3qx7vB4wpZF4sBRjt", 3 | "schemaId": "M6Mbe3qx7vB4wpZF4sBRjt:2:bank_account:1.0", 4 | "credDefId": "M6Mbe3qx7vB4wpZF4sBRjt:3:CL:571:bank_account_no_revoc", 5 | "@context": [ 6 | "https://www.w3.org/2018/credentials/v1", 7 | "https://raw.githubusercontent.com/iil-network/contexts/master/bankaccount.json", 8 | "https://raw.githubusercontent.com/iil-network/contexts/master/indycredential.jsonld" 9 | ], 10 | "credentialSubject": { 11 | "id": "did:sov:iil:VoSfM3eGaPxduty34ySygw", 12 | "bank_account": { 13 | "bic": "123", 14 | "iban": "abc" 15 | } 16 | }, 17 | "id": "urn:450df1f1-eef4-4ab7-9ac4-681284f0bfc4", 18 | "issuanceDate": "2020-09-03T15:39:03Z", 19 | "type": [ 20 | "VerifiableCredential", 21 | "BankAccountCredential", 22 | "IndyCredential" 23 | ] 24 | } -------------------------------------------------------------------------------- /src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | %cyan(%d{HH:mm:ss.SSS}) %gray([%thread]) %highlight(%-5level) %magenta(%logger{36}) - %msg%n 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | --------------------------------------------------------------------------------