@alessiofrittoli/crypto-signature
Version:
Lightweight TypeScript Signatures library
17 lines (14 loc) • 475 B
text/typescript
import { ErrorCode as ErrorCode$1 } from '@alessiofrittoli/exception/code';
declare enum Signature {
INVALID_JWKNAME = "ERR:INVALIDJWKNAME",
INVALID_SIGN = "ERR:INVALIDSIGN",
NO_SIGN = "ERR:NOSIGN",
NO_PRIVATEKEY = "ERR:NOPRIVATEKEY",
NO_PUBLICKEY = "ERR:NOPUBLICKEY"
}
declare const ErrorCode: {
Exception: typeof ErrorCode$1;
Signature: typeof Signature;
};
type ErrorCode = MergedEnumValue<typeof ErrorCode>;
export { ErrorCode, Signature };