| 程序包 | 说明 |
|---|---|
| com.github.DNAProject.dnaid |
| 限定符和类型 | 字段和说明 |
|---|---|
ProofPurpose |
Proof.proofPurpose |
| 限定符和类型 | 方法和说明 |
|---|---|
static ProofPurpose |
ProofPurpose.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ProofPurpose[] |
ProofPurpose.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
VerifiableCredential |
DnaId2.createCred(String[] context,
String[] type,
Object issuer,
Object credentialSubject,
Date expiration,
CredentialStatusType credentialStatusType,
ProofPurpose proofPurpose) |
String |
DnaId2.createJWTCred(String[] context,
String[] type,
Object issuer,
Object credentialSubject,
Date expiration,
CredentialStatusType statusType,
ProofPurpose purpose) |
String |
DnaId2.createJWTPresentation(String[] creds,
String[] context,
String[] type,
Object holder,
String challenge,
Object domain,
ProofPurpose purpose) |
VerifiablePresentation |
DnaId2.createPresentation(VerifiableCredential[] creds,
String[] context,
String[] type,
List<String> challenge,
List<Object> domain,
Object holder,
DnaIdSigner[] otherSigners,
ProofPurpose proofPurpose) |
String |
DnaId2.createPresentationFromOldCred(String[] creds,
String[] context,
String[] type,
Object holder,
String challenge,
Object domain,
ProofPurpose purpose) |
SignRequest |
DnaId2.genSignReq(Object credentialSubject,
ProofPurpose proofPurpose,
boolean hasSignature) |
| 构造器和说明 |
|---|
Proof(String publicKeyURI,
String created,
PubKeyType type,
ProofPurpose proofPurpose) |
Proof(String publicKeyURI,
String created,
PubKeyType type,
ProofPurpose proofPurpose,
String challenge,
Object domain) |
Copyright © 2021. All rights reserved.