Home
last modified time | relevance | path

Searched refs:asn_encode_tag (Results 1 – 7 of 7) sorted by relevance

/dports/converters/p5-Convert-ASN1/Convert-ASN1-0.33/lib/Convert/ASN1/
H A Dparser.pm22 BOOLEAN => [ asn_encode_tag(ASN_BOOLEAN), opBOOLEAN ],
23 INTEGER => [ asn_encode_tag(ASN_INTEGER), opINTEGER ],
24 BIT_STRING => [ asn_encode_tag(ASN_BIT_STR), opBITSTR ],
25 OCTET_STRING => [ asn_encode_tag(ASN_OCTET_STR), opSTRING ],
26 STRING => [ asn_encode_tag(ASN_OCTET_STR), opSTRING ],
27 NULL => [ asn_encode_tag(ASN_NULL), opNULL ],
28 OBJECT_IDENTIFIER => [ asn_encode_tag(ASN_OBJECT_ID), opOBJID ],
29 REAL => [ asn_encode_tag(ASN_REAL), opREAL ],
30 ENUMERATED => [ asn_encode_tag(ASN_ENUMERATED), opINTEGER ],
31 ENUM => [ asn_encode_tag(ASN_ENUMERATED), opINTEGER ],
[all …]
/dports/converters/p5-Convert-ASN1/Convert-ASN1-0.33/
H A Dparser.y43 BOOLEAN => [ asn_encode_tag(ASN_BOOLEAN), opBOOLEAN ],
44 INTEGER => [ asn_encode_tag(ASN_INTEGER), opINTEGER ],
45 BIT_STRING => [ asn_encode_tag(ASN_BIT_STR), opBITSTR ],
46 OCTET_STRING => [ asn_encode_tag(ASN_OCTET_STR), opSTRING ],
47 STRING => [ asn_encode_tag(ASN_OCTET_STR), opSTRING ],
48 NULL => [ asn_encode_tag(ASN_NULL), opNULL ],
49 OBJECT_IDENTIFIER => [ asn_encode_tag(ASN_OBJECT_ID), opOBJID ],
50 REAL => [ asn_encode_tag(ASN_REAL), opREAL ],
51 ENUMERATED => [ asn_encode_tag(ASN_ENUMERATED), opINTEGER ],
52 ENUM => [ asn_encode_tag(ASN_ENUMERATED), opINTEGER ],
[all …]
/dports/converters/p5-Convert-ASN1/Convert-ASN1-0.33/t/
H A D00prim.t17 stest 4, pack("C*", 129), asn_encode_tag(129);
18 stest 5, pack("C*", 0x1f,0x20), asn_encode_tag(0x201f);
19 stest 6, pack("C*", 0x5f,0x82,0x01), asn_encode_tag(0x01825f);
21 ntest 7, 129, asn_decode_tag(asn_encode_tag(asn_tag(ASN_CONTEXT, 1)));
22 ntest 8, 0x201f, asn_decode_tag(asn_encode_tag(asn_tag(ASN_UNIVERSAL, 32)));
23 ntest 9, 0x01825f, asn_decode_tag(asn_encode_tag(asn_tag(ASN_APPLICATION, 257)));
25 ntest 10, 1, (asn_decode_tag(asn_encode_tag(asn_tag(ASN_CONTEXT, 1))))[0];
26 ntest 11, 2, (asn_decode_tag(asn_encode_tag(asn_tag(ASN_UNIVERSAL, 32))))[0];
27 ntest 12, 3, (asn_decode_tag(asn_encode_tag(asn_tag(ASN_APPLICATION, 257))))[0];
/dports/security/p5-openxpki/openxpki-3.16.1/core/server/OpenXPKI/Crypt/
H A DPKCS7.pm530 return asn_encode_tag($class).asn_encode_length(length($value)).$value;
/dports/security/p5-openxpki-i18n/openxpki-3.16.1/core/server/OpenXPKI/Crypt/
H A DPKCS7.pm530 return asn_encode_tag($class).asn_encode_length(length($value)).$value;
/dports/converters/p5-Convert-ASN1/Convert-ASN1-0.33/lib/Convert/
H A DASN1.pm230 sub asn_encode_tag { subroutine
H A DASN1.pod288 =item asn_encode_tag ( TAG )
395 asn_tag, asn_decode_tag, asn_encode_tag, asn_decode_length, asn_encode_length