Skip to content
Snippets Groups Projects
Commit ffbc6264 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Added another useless string encoding, VisibleString, because it is one of the...

Added another useless string encoding, VisibleString, because it is one of the few ones that has an example in the spec.

Rev: lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:1.27
parent 6608a638
No related branches found
No related tags found
No related merge requests found
//
// $Id: Types.pmod,v 1.26 2003/01/27 02:46:27 nilsson Exp $
// $Id: Types.pmod,v 1.27 2003/01/28 22:58:56 nilsson Exp $
//
//! Encodes various asn.1 objects according to the Distinguished
......@@ -253,6 +253,8 @@ class String
// FIXME: What is the DER-encoding of TRUE???
// According to Jan Petrous, the LDAP spec says that 0xff is right.
// No, every nonzero value is true according to the ASN1 spec,
// but they use 0xff as example of a true value. /Nilsson
//! boolean object
class Boolean
......@@ -1039,6 +1041,13 @@ class IA5String
constant type_name = "IA5STRING";
}
//!
class VisibleString {
inherit String;
constant tag = 26;
constant type_name = "VisibleString";
}
//!
class UTC
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment