Class V20PresExRecordByFormat
- java.lang.Object
-
- org.hyperledger.aries.api.present_proof_v2.V20PresExRecordByFormat
-
public class V20PresExRecordByFormat extends Object
V20PresExRecordByFormat aca-py specific way of presenting the types as either dif or indy. The second way would be to go through the attachments and get the corresponding format by the attachment id.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classV20PresExRecordByFormat.V20PresExRecordByFormatBuilder
-
Constructor Summary
Constructors Constructor Description V20PresExRecordByFormat()V20PresExRecordByFormat(com.google.gson.JsonObject presProposal, com.google.gson.JsonObject presRequest, com.google.gson.JsonObject pres)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static V20PresExRecordByFormat.V20PresExRecordByFormatBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)com.google.gson.JsonObjectgetPres()com.google.gson.JsonObjectgetPresProposal()com.google.gson.JsonObjectgetPresRequest()inthashCode()booleanisDif()booleanisIndy()VerifiablePresentation<VerifiableCredential>resolveDifPresentation()<T> Optional<T>resolveDifPresentationProposal(Type type)<T> Optional<T>resolveDifPresentationRequest(Type type)List<PresentationExchangeRecord.Identifier>resolveIndyIdentifiers()com.google.gson.JsonObjectresolveIndyPresentation()Optional<PresentProofRequest.ProofRequest>resolveIndyPresentationRequest()voidsetPres(com.google.gson.JsonObject pres)voidsetPresProposal(com.google.gson.JsonObject presProposal)voidsetPresRequest(com.google.gson.JsonObject presRequest)StringtoString()
-
-
-
Method Detail
-
isIndy
public boolean isIndy()
-
isDif
public boolean isDif()
-
resolveIndyPresentationRequest
public Optional<PresentProofRequest.ProofRequest> resolveIndyPresentationRequest()
-
resolveIndyPresentation
public com.google.gson.JsonObject resolveIndyPresentation()
-
resolveDifPresentation
public VerifiablePresentation<VerifiableCredential> resolveDifPresentation()
-
resolveIndyIdentifiers
public List<PresentationExchangeRecord.Identifier> resolveIndyIdentifiers()
-
builder
public static V20PresExRecordByFormat.V20PresExRecordByFormatBuilder builder()
-
getPresProposal
public com.google.gson.JsonObject getPresProposal()
-
getPresRequest
public com.google.gson.JsonObject getPresRequest()
-
getPres
public com.google.gson.JsonObject getPres()
-
setPresProposal
public void setPresProposal(com.google.gson.JsonObject presProposal)
-
setPresRequest
public void setPresRequest(com.google.gson.JsonObject presRequest)
-
setPres
public void setPres(com.google.gson.JsonObject pres)
-
canEqual
protected boolean canEqual(Object other)
-
-