Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expose a function returning a status code for verifing X509 objects | Jack Lloyd | 2017-12-19 | 6 | -59/+99 |
| | | | | | | | | | The versions returning bool just tell us if it could be verified but don't indicate the problem, everything got binned into "signature error" during verification. Now in the event that the params were invalid, or the signature algorithm couldn't be found, report that as a specific error. See GH #1362 | ||||
* | Avoid tying encoding of CRLs to the current system clock | Jack Lloyd | 2017-12-18 | 2 | -19/+66 |
| | |||||
* | Expose timeouts on the freestanding OCSP request utils | Jack Lloyd | 2017-12-17 | 2 | -6/+24 |
| | |||||
* | Use HTTP level timeouts instead of polling on the std::future | Jack Lloyd | 2017-12-17 | 2 | -25/+8 |
| | |||||
* | Add ability to fingerprint public keys | Jack Lloyd | 2017-12-14 | 2 | -19/+4 |
| | |||||
* | Need binary IO for Windows | Jack Lloyd | 2017-12-04 | 4 | -14/+4 |
| | |||||
* | Support uninitialized certificate objects | Jack Lloyd | 2017-12-04 | 10 | -136/+140 |
| | | | | | | | Issued raised by @securitykernel on Slack, there was no non-hacky way to decode a list of certificate objects because creating an uninitialized one wasn't allowed. However after #884 that got much closer to being viable, this is the last pieces. | ||||
* | CRL_Data is a struct not a class | Jack Lloyd | 2017-11-29 | 1 | -1/+2 |
| | |||||
* | Allow parsing and printing certificates with unknown public key algos | Jack Lloyd | 2017-11-18 | 2 | -6/+31 |
| | |||||
* | Fix encoding of subject key identifier | Jack Lloyd | 2017-11-16 | 5 | -23/+27 |
| | | | | | | Changed in #884 - we were copying the entire public key as the public key id. Instead hash it with whatever hash we are using to sign the certificate. | ||||
* | Fix a memory leak in the case where certificate extension decoding fails. | Jack Lloyd | 2017-11-16 | 2 | -30/+33 |
| | | | | | | Introduced in #884 Found by OSS-Fuzz (bug 4249) | ||||
* | Remove debug abort [ci skip] | Jack Lloyd | 2017-11-14 | 1 | -1/+0 |
| | |||||
* | Consolidate function for testing for ASN.1 string types | Jack Lloyd | 2017-11-14 | 1 | -19/+3 |
| | |||||
* | Check for keyCertSign on non-CA certificates during validation | Jack Lloyd | 2017-11-14 | 1 | -0/+14 |
| | | | | GH #1089 | ||||
* | Fix PKCS10 subject alt name usage | Jack Lloyd | 2017-11-14 | 4 | -7/+26 |
| | | | | GH #1010 | ||||
* | Add a test for GH #1252 | Jack Lloyd | 2017-11-14 | 1 | -1/+7 |
| | |||||
* | Use new APIs in path validation and name constraint handling | Jack Lloyd | 2017-11-14 | 2 | -6/+14 |
| | |||||
* | Store CRL_Entry data in shared_ptr | Jack Lloyd | 2017-11-14 | 2 | -41/+81 |
| | |||||
* | Store X509_CRL data in shared_ptr | Jack Lloyd | 2017-11-14 | 2 | -69/+102 |
| | |||||
* | Store PKCS10 request data in structure | Jack Lloyd | 2017-11-14 | 2 | -65/+85 |
| | |||||
* | Refactor certificate extension handling | Jack Lloyd | 2017-11-14 | 2 | -274/+441 |
| | |||||
* | Store all data of an X509 certificate in a shared_ptr data struct. | Jack Lloyd | 2017-11-14 | 4 | -364/+567 |
| | |||||
* | Use new Decoding_Error constructor | Jack Lloyd | 2017-11-14 | 1 | -4/+2 |
| | |||||
* | Require SHA-2 for X.509 module | Jack Lloyd | 2017-11-14 | 1 | -0/+1 |
| | | | | The certstore interface assumes it and it's probably not unreasonable... | ||||
* | In X509_CA save the hash function used | Jack Lloyd | 2017-11-14 | 2 | -2/+11 |
| | |||||
* | Move X509_DN and AlternativeName from asn1 to x509 | Jack Lloyd | 2017-11-14 | 5 | -0/+766 |
| | |||||
* | Compile fix | Jack Lloyd | 2017-11-14 | 1 | -2/+2 |
| | |||||
* | Correct issuer field of created CRLs | Jack Lloyd | 2017-11-14 | 2 | -6/+6 |
| | | | | Fixes GH #1242 | ||||
* | Remove use of transcode | Jack Lloyd | 2017-11-09 | 2 | -7/+3 |
| | |||||
* | Convert http:// links to https:// where possible | Jack Lloyd | 2017-10-24 | 1 | -1/+1 |
| | |||||
* | review changes | Daniel Neus | 2017-10-21 | 2 | -8/+7 |
| | |||||
* | X.509 RSA-PSS verification | Daniel Neus | 2017-10-20 | 3 | -8/+137 |
| | |||||
* | Address various GCC warnings | Jack Lloyd | 2017-10-06 | 1 | -2/+2 |
| | | | | | Things like -Wconversion and -Wuseless-cast that are noisy and not on by default. | ||||
* | Remove various unused variables | Jack Lloyd | 2017-10-02 | 1 | -1/+0 |
| | | | | Sonar finds | ||||
* | Use class for exception types | Jack Lloyd | 2017-10-02 | 1 | -3/+4 |
| | |||||
* | Remove protected data members from X509_Object | Jack Lloyd | 2017-10-02 | 5 | -41/+27 |
| | | | | Just need const accessors, no reason for any subclass to modify values. | ||||
* | Remove redundant "virtual override" declarations. | Jack Lloyd | 2017-10-02 | 1 | -3/+3 |
| | |||||
* | Guard against self-assignment | Jack Lloyd | 2017-09-30 | 1 | -0/+3 |
| | | | | Found with Sonar | ||||
* | Further header cleanups | Jack Lloyd | 2017-09-28 | 7 | -2/+10 |
| | |||||
* | Header cleanups | Jack Lloyd | 2017-09-28 | 2 | -2/+2 |
| | |||||
* | Avoid GCC signed-overflow warning | Jack Lloyd | 2017-09-22 | 1 | -2/+2 |
| | |||||
* | Avoid explicit delete | Jack Lloyd | 2017-09-22 | 2 | -5/+5 |
| | |||||
* | Apply final annotations to the library also | Jack Lloyd | 2017-09-22 | 10 | -17/+17 |
| | | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures. | ||||
* | Add missing mutex.h include | Jack Lloyd | 2017-09-21 | 1 | -0/+1 |
| | |||||
* | More include header cleanups | Jack Lloyd | 2017-09-21 | 15 | -28/+15 |
| | |||||
* | Header file cleanups | Jack Lloyd | 2017-09-21 | 4 | -3/+3 |
| | | | | Some help from include-what-you-use | ||||
* | Clean up header includes | Jack Lloyd | 2017-09-21 | 2 | -2/+2 |
| | | | | | | | Avoid including build.h or assert.h directly, instead always take them though types.h Avoid math.h in favor of cmath | ||||
* | Change header guard format to BOTAN_FOO_H_ | Jack Lloyd | 2017-09-20 | 18 | -36/+36 |
| | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | Complete the final annotation changes | Jack Lloyd | 2017-09-19 | 2 | -8/+10 |
| | |||||
* | Add API stability annotations. | Jack Lloyd | 2017-09-19 | 18 | -65/+65 |
| | | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols. |