org.hyperledger.aries.api.present_proof.PresentationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aries-client-python Show documentation
Show all versions of aries-client-python Show documentation
Aries Cloud Agent - Python: Java client implementation
/*
* Copyright (c) 2020-2021 - for information on the respective copyright owner
* see the NOTICE file and/or the repository at
* https://github.com/hyperledger-labs/acapy-java-client
*
* SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.aries.api.present_proof;
import lombok.Builder;
import lombok.Data;
import java.util.HashMap;
import java.util.Map;
@Data @Builder
public class PresentationRequest {
private Boolean trace;
@Builder.Default
private Map requestedPredicates = new HashMap<>();
@Builder.Default
private Map selfAttestedAttributes = new HashMap<>();
@Builder.Default
private Map requestedAttributes = new HashMap<>();
@Data @Builder
public static final class IndyRequestedCredsRequestedPred {
private String credId;
private Integer timestamp;
}
@Data @Builder
public static final class IndyRequestedCredsRequestedAttr {
private Boolean revealed;
private String credId;
private Integer timestamp;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy