#include #include #include #include #include using namespace std;struct Seg { int num; Seg(unsigned char s){ num = (int)s; }; Seg() { num = -1; }};typedef struct Seg Seg;struct TLV { Seg type; vector length; vector value;};typedef struct TLV TLV;struct SignatureAlgorithm { TLV algorithm; TLV parameters;};struct subjectPublicKey { TLV algorithm; TLV parameters; TLV PKey;};struct SignatureValue { TLV signatureValue;};struct signatureArray { TLV s1 s2;};typedef struct SignatureAlgorithm SignatureAlgorithm;typedef struct subjectPublicKey subjectPublicKey;typedef struct SignatureValue SignatureValue;typedef struct signatureArray signatu
共有 条评论
评论
共有 条评论