npm install autogram-sdk
import { FullClient } from ".";
const client = new FullClient();
const { content, issuedBy, signedBy } = await client.sign(
{
content: "hello world",
filename: "hello.txt",
},
{
level: "XAdES_BASELINE_B",
container: "ASiC_E",
},
"text/plain",
true
);
<script src="dist/index.global.js"></script>
<script>
const client = new AutogramSDK.FullClient();
const { content, issuedBy, signedBy } = await client.sign(
{
content: "hello world",
filename: "hello.txt",
},
{
level: "XAdES_BASELINE_B",
container: "ASiC_E",
},
"text/plain",
true
);
</script>