Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asn1: Add additional OIDs seen in certificate DNs | Tobias Brunner | 2017-11-02 | 1 | -0/+3 |
| | |||||
* | Migrate all enumerators to venumerate() interface change | Tobias Brunner | 2017-05-26 | 1 | -6/+14 |
| | |||||
* | identification: Compare identity types when comparing ID_FQDN/ID_RFC822_ADDR ↵ | Tobias Brunner | 2016-06-06 | 1 | -3/+4 |
| | | | | | | identities References #1380. | ||||
* | identification: Add support for dmdName RDN (2.5.4.54) | Yannick Cann | 2016-04-25 | 1 | -0/+2 |
| | | | | | | | It's listed in RFC 2256 but was later removed with RFC 4519, but there are still some certs that use it. Closes strongswan/strongswan#43. | ||||
* | identification: Make `written` signed to fix error checking when printing ranges | Tobias Brunner | 2016-03-11 | 1 | -3/+3 |
| | |||||
* | Implemented IPv4/IPv6 subnet and range identities | Andreas Steffen | 2016-03-10 | 1 | -31/+356 |
| | | | | | | The IKEv1 IPV4_ADDR_SUBNET, IPV6_ADDR_SUBNET, IPV4_ADDR_RANGE and IPV6_ADDR_RANGE identities have been fully implemented and can be used as owners of shared secrets (PSKs). | ||||
* | Support pseudonym RDN | Andreas Steffen | 2016-01-27 | 1 | -0/+2 |
| | |||||
* | identification: Remove unused ID_USER_ID type | Tobias Brunner | 2015-08-17 | 1 | -6/+3 |
| | |||||
* | identification: Use UTF8String instead of the legacy T61String to encode DNs | Tobias Brunner | 2015-08-06 | 1 | -1/+1 |
| | | | | | | | When strings in RDNs contain characters outside the character set for PrintableString use UTF8String as the passed string is most likely in that encoding (RFC 5280 actually recommends to use only those two string types). | ||||
* | identification: Add hash() method | Tobias Brunner | 2015-08-06 | 1 | -1/+36 |
| | | | | | | | Compared to hashing the encoding we can ignore string types of RDNs when hashing DNs, making hash() compatible to equals() that does the same. Fixes #991. | ||||
* | identification: Support custom types in string constructor prefixes | Martin Willi | 2014-10-30 | 1 | -0/+39 |
| | |||||
* | identification: Support prefixes in string constructors for an explicit type | Martin Willi | 2014-10-30 | 1 | -0/+48 |
| | |||||
* | identification: Only use either , or / to separate RDNs | Tobias Brunner | 2014-06-18 | 1 | -3/+13 |
| | | | | | If a DN starts with a slash (or whitespace and a slash) slashes will be used, otherwise commas. | ||||
* | windows: Add a common Windows header for platform specific wrappers | Martin Willi | 2014-06-03 | 1 | -4/+1 |
| | | | | | Include some more basic system headers in utils.h, so we can use that common header on the different platforms. | ||||
* | identification: Fix printing of empty RDNs on FreeBSD | Tobias Brunner | 2014-02-12 | 1 | -1/+6 |
| | | | | On FreeBSD (null) is printed for NULL even if the precision is 0. | ||||
* | identification: Properly check length before comparing for binary DN equality | Martin Willi | 2013-10-31 | 1 | -1/+1 |
| | | | | Fixes CVE-2013-6075. | ||||
* | identification: parse identities having a "@@" prefix as ID_RFC822_ADDR | Martin Willi | 2013-07-18 | 1 | -11/+10 |
| | | | | Original patch by Gerald Richter. | ||||
* | Fail DN parsing if OID is unterminated | Tobias Brunner | 2013-06-11 | 1 | -2/+6 |
| | | | | | This is the case if the last OID is not followed by a = or if the string starts with a =. | ||||
* | Fix DN printing if last RDN has an empty value | Tobias Brunner | 2013-06-11 | 1 | -11/+32 |
| | |||||
* | Fix DN parsing if last RDN has an empty value | Tobias Brunner | 2013-06-11 | 1 | -1/+1 |
| | |||||
* | Fix output of ASN.1 GN | Tobias Brunner | 2013-06-11 | 1 | -1/+1 |
| | |||||
* | Use chunk_from_str in identification_from_string | Tobias Brunner | 2013-06-11 | 1 | -17/+5 |
| | | | | | We always have a non-empty string in those cases as "" is now handled as ID_ANY. | ||||
* | Parse empty string as ID_ANY | Tobias Brunner | 2013-06-11 | 1 | -2/+3 |
| | |||||
* | make TNC Access Requestor ID available to IMVs | Andreas Steffen | 2013-03-03 | 1 | -9/+15 |
| | |||||
* | Make sure first argument is an int when using %.*s to print e.g. chunks | Tobias Brunner | 2012-09-28 | 1 | -5/+5 |
| | |||||
* | Pass opaque data to printf hooks and print_in_hook() | Martin Willi | 2012-07-13 | 1 | -5/+5 |
| | |||||
* | Properly handle empty RDN values in DN strings. | Tobias Brunner | 2012-06-07 | 1 | -3/+11 |
| | |||||
* | Add support for dnQualifier in DNs. | Tobias Brunner | 2012-03-29 | 1 | -0/+2 |
| | |||||
* | support unstructuredAddress in left|rightid | Andreas Steffen | 2011-04-18 | 1 | -26/+28 |
| | |||||
* | Do not print empty DN identities as invalid | Martin Willi | 2011-01-05 | 1 | -2/+8 |
| | |||||
* | Do not strdup() zero length strings in identification_create_from_string() | Martin Willi | 2010-08-31 | 1 | -4/+20 |
| | |||||
* | Fix use of snprintf() in identification DN to ASCII conversion | Martin Willi | 2010-07-28 | 1 | -0/+12 |
| | |||||
* | Use the group constraint in a more generic fashion, not only for attribute ↵ | Martin Willi | 2010-07-05 | 1 | -3/+1 |
| | | | | certificates | ||||
* | Renamed clone function to avoid name clash with uclibc | Martin Willi | 2010-04-07 | 1 | -2/+2 |
| | |||||
* | Migrated identification_t to INIT/METHOD macros | Martin Willi | 2009-12-21 | 1 | -128/+95 |
| | |||||
* | Added identification constructor using a chunk of data, guessing id type | Martin Willi | 2009-11-12 | 1 | -0/+12 |
| | |||||
* | display printable characters in dntoa() | Andreas Steffen | 2009-11-04 | 1 | -9/+4 |
| | |||||
* | moved attribute_manager to libstrongswan | Andreas Steffen | 2009-10-13 | 1 | -0/+1 |
| | |||||
* | created identification_create_from_sockaddr() function | Andreas Steffen | 2009-10-09 | 1 | -0/+33 |
| | |||||
* | removed trailing spaces ([[:space:]]+$) | Martin Willi | 2009-09-04 | 1 | -46/+46 |
| | |||||
* | removed obsolete fingerprint identification types | Martin Willi | 2009-08-26 | 1 | -12/+7 |
| | |||||
* | pruned OID tree | Andreas Steffen | 2009-08-18 | 1 | -5/+4 |
| | |||||
* | fixed wrong emailAddress OID introduced by revision c31687da | Andreas Steffen | 2009-08-18 | 1 | -3/+3 |
| | |||||
* | parse RDNs in multiple SEQUENCEs in all SETs of a DN | Martin Willi | 2009-08-03 | 1 | -16/+24 |
| | |||||
* | Corrected check for valid ASN1 types in rdn_enumerate. | Tobias Brunner | 2009-07-14 | 1 | -2/+3 |
| | | | | Because of the range of u_char the comparison was always TRUE before. | ||||
* | double free caused strange side effects | Andreas Steffen | 2009-07-13 | 1 | -1/+0 |
| | |||||
* | great, I got my comma back | Andreas Steffen | 2009-07-12 | 1 | -1/+1 |
| | |||||
* | added missing equals() method assignment for ID_ANY identities | Martin Willi | 2009-07-07 | 1 | -1/+2 |
| | |||||
* | centralized ID type specific method assignement in generic constructor | Martin Willi | 2009-07-06 | 1 | -105/+69 |
| | |||||
* | removed obsolete init_rdn()/get_next_rdn() functions | Martin Willi | 2009-07-06 | 1 | -124/+0 |
| |