com.apicatalog.did.document.DidDocument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of carbon-did Show documentation
Show all versions of carbon-did Show documentation
Decentralized Identifiers (DIDs) API
package com.apicatalog.did.document;
import java.util.Set;
import com.apicatalog.did.Did;
/**
* DID Document
*
* @see DID document properties
*/
public class DidDocument {
protected final Did id;
protected final Set controller;
protected final Set verificationMethod;
// protected Set alsoKnownAs;
// protected Set assertionMethod;
// protected Set authentication;
// protected Set capabilityInvocation;
// protected Set capabilityDelegation;
// protected Set keyAgreement;
public DidDocument(
Did id,
Set controller,
Set verificationMethod
) {
this.id = id;
this.controller = controller;
this.verificationMethod = verificationMethod;
}
public Did id() {
return id;
}
public Set controller() {
return controller;
}
public Set verificationMethod() {
return verificationMethod;
}
}