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

org.bif.protocol.bidComm.Signature.SignObj Maven / Gradle / Ivy

The newest version!
package org.bif.protocol.bidComm.Signature;

public class SignObj {
    /**

     {
     "header":{
         "alg": "SM2",
         "kid": "did:bid:zf27zkk8D72F13HAzY1ECsK12VPUHxKZS#keys-1",
     }
     "signature":"FW33NnvOHV0Te…WNMgP2EVCQ",
     }



     */
    //header
    private SignHeader header;
    //对称加密算法
    private String signature;

    public SignObj(){
        this.header = new SignHeader();
        this.signature = "";
    }

    public SignObj(SignHeader signHeader,String signature){
        this.header = signHeader;
        this.signature = signature;
    }

    public SignHeader getHeader() {
        return header;
    }

    public void setHeader(SignHeader header) {
        this.header = header;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy