diff options
author | lloyd <[email protected]> | 2009-03-30 18:27:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-03-30 18:27:18 +0000 |
commit | 96d6eb6f29c55e16a37cf11899547886f735b065 (patch) | |
tree | 9f13901e9b44c98d58b2589c9b09c6a7443eb7cd /src/asn1/asn1_obj.h | |
parent | 3cc3dd72c5f87b76852a55c1f2d1821dba967d8c (diff) |
Thomas Moschny passed along a request from the Fedora packagers which came
up during the Fedora submission review, that each source file include some
text about the license. One handy Perl script later and each file now has
the line
Distributed under the terms of the Botan license
after the copyright notices.
While I was in there modifying every file anyway, I also stripped out the
remainder of the block comments (lots of astericks before and after the
text); this is stylistic thing I picked up when I was first learning C++
but in retrospect it is not a good style as the structure makes it harder
to modify comments (with the result that comments become fewer, shorter and
are less likely to be updated, which are not good things).
Diffstat (limited to 'src/asn1/asn1_obj.h')
-rw-r--r-- | src/asn1/asn1_obj.h | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/src/asn1/asn1_obj.h b/src/asn1/asn1_obj.h index 67645ca08..ea21c475f 100644 --- a/src/asn1/asn1_obj.h +++ b/src/asn1/asn1_obj.h @@ -1,8 +1,10 @@ -/************************************************* -* Common ASN.1 Objects Header File * -* (C) 1999-2007 Jack Lloyd * -* 2007 Yves Jerschow * -*************************************************/ +/* +* Common ASN.1 Objects +* (C) 1999-2007 Jack Lloyd +* 2007 Yves Jerschow +* +* Distributed under the terms of the Botan license +*/ #ifndef BOTAN_ASN1_OBJ_H__ #define BOTAN_ASN1_OBJ_H__ @@ -15,9 +17,9 @@ namespace Botan { -/************************************************* -* Attribute * -*************************************************/ +/* +* Attribute +*/ class BOTAN_DLL Attribute : public ASN1_Object { public: @@ -32,9 +34,9 @@ class BOTAN_DLL Attribute : public ASN1_Object Attribute(const std::string&, const MemoryRegion<byte>&); }; -/************************************************* -* X.509 Time * -*************************************************/ +/* +* X.509 Time +*/ class BOTAN_DLL X509_Time : public ASN1_Object { public: @@ -59,9 +61,9 @@ class BOTAN_DLL X509_Time : public ASN1_Object ASN1_Tag tag; }; -/************************************************* -* Simple String * -*************************************************/ +/* +* Simple String +*/ class BOTAN_DLL ASN1_String : public ASN1_Object { public: @@ -80,9 +82,9 @@ class BOTAN_DLL ASN1_String : public ASN1_Object ASN1_Tag tag; }; -/************************************************* -* Distinguished Name * -*************************************************/ +/* +* Distinguished Name +*/ class BOTAN_DLL X509_DN : public ASN1_Object { public: @@ -110,9 +112,9 @@ class BOTAN_DLL X509_DN : public ASN1_Object MemoryVector<byte> dn_bits; }; -/************************************************* -* Alternative Name * -*************************************************/ +/* +* Alternative Name +*/ class BOTAN_DLL AlternativeName : public ASN1_Object { public: @@ -136,9 +138,9 @@ class BOTAN_DLL AlternativeName : public ASN1_Object std::multimap<OID, ASN1_String> othernames; }; -/************************************************* -* Comparison Operations * -*************************************************/ +/* +* Comparison Operations +*/ bool BOTAN_DLL operator==(const X509_Time&, const X509_Time&); bool BOTAN_DLL operator!=(const X509_Time&, const X509_Time&); bool BOTAN_DLL operator<=(const X509_Time&, const X509_Time&); @@ -148,9 +150,9 @@ bool BOTAN_DLL operator==(const X509_DN&, const X509_DN&); bool BOTAN_DLL operator!=(const X509_DN&, const X509_DN&); bool BOTAN_DLL operator<(const X509_DN&, const X509_DN&); -/************************************************* -* Helper Functions * -*************************************************/ +/* +* Helper Functions +*/ bool BOTAN_DLL is_string_type(ASN1_Tag); } |