All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.apicatalog.did.document.DidDocument Maven / Gradle / Ivy

The newest version!
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy