DerBitString
DerBitString
A BIT STRING payload and the number of unused trailing bits in its final byte.
ts
interface DerBitString {
readonly bytes: Uint8Array;
readonly unusedBits: number;
readonly nonZeroPadding: boolean;
}Properties
readonlybytes:Uint8Array— Payload bytes, excluding the leading unused-bit count octet.readonlyunusedBits:number— Unused trailing bits in the final byte, 0 through 7.readonlynonZeroPadding:boolean—truewhen the original encoding had non-zero padding bits (DER violation).