Commit Graph

188 Commits

Author SHA1 Message Date
Stephen Paul Weber
eb7aaf490e Ensure 2 hex digits per byte 2010-04-01 09:19:01 -05:00
Stephen Paul Weber
5829037d0b SignatureSubpacket constructor (for tag/type) 2010-04-01 09:17:40 -05:00
Stephen Paul Weber
36fba1596d Default packet constructor can take data 2010-04-01 09:17:09 -05:00
Stephen Paul Weber
6ac274b8ec Implement OpenPGP_SecretKeyPacket 2010-03-31 18:54:00 -05:00
Stephen Paul Weber
6e8dc4799f Constructor for OpenPGP_LiteralDataPacket 2010-03-31 17:15:11 -05:00
Stephen Paul Weber
8265522323 Function to verify signatures.
Call with a set of verifier callbacks and optionally the index of the
signature to verify (if there is more than one signature).
2010-03-31 14:26:16 -05:00
Stephen Paul Weber
3b6b29127f Get names for key/hash algorithm on signature 2010-03-31 14:26:16 -05:00
Stephen Paul Weber
bd9c9db00b Add publickey algorithm mappings 2010-03-31 14:26:16 -05:00
Stephen Paul Weber
8019d3c564 Add hash algorithm mappings 2010-03-31 14:26:16 -05:00
Stephen Paul Weber
b41bc2c533 Implement body for OpenPGP_CompressedDataPacket 2010-03-31 14:26:16 -05:00
Stephen Paul Weber
1a1b8980e6 No need to unwrap to an array
Since OpenPGP_Message implements the array interface
2010-03-31 14:26:14 -05:00
Stephen Paul Weber
975fc2ff7e Implement body for OpenPGP_OnePassSignaturePacket 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
0a85e214a6 Implement to_bytes for OpenPGP_Message 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
355ea44301 Set tag on packet creation 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
1333a1a035 unpack returns an array 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
acdf5d1ac0 Implement body for OpenPGP_SignaturePacket 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
408c912e12 Implement body for OpenPGP_SignaturePacket_IssuerPacket 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
7fc49b3530 Implement body for OpenPGP_SignaturePacket_SignatureCreationTimePacket 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
d4babbb948 Subpacket class for different header 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
5f6a93daca Type byte is part of body 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
97ad2cf72d CompressedDataPacket implements ArrayAccess 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
3c84dce8f9 LiteralDataPacket body 2010-03-31 14:25:21 -05:00
Stephen Paul Weber
a78b6dc8c1 Header calculation, body stub, and byte serialize 2010-03-31 14:25:11 -05:00
Stephen Paul Weber
b7122bbb5f Store the trailer for use in sig verification 2010-03-31 11:59:07 -05:00
Stephen Paul Weber
b0f4e73111 Use timestamp/mpi abstractions 2010-03-31 11:59:07 -05:00
Stephen Paul Weber
c7a5ec04fd That is done 2010-03-31 11:59:07 -05:00
Arto Bendiken
93569f967c Added a link to the Drupal project page. 2010-03-30 23:49:10 +02:00
Arto Bendiken
079eb984a7 Added Stephen Paul Weber as an author. 2010-03-30 23:48:03 +02:00
Stephen Paul Weber
8feb922a45 Implemented OpenPGP_SignaturePacket_SignatureCreationTimePacket 2010-03-30 14:46:37 -05:00
Stephen Paul Weber
417ac85088 Implemented OpenPGP_SignaturePacket_IssuerPacket 2010-03-30 14:46:36 -05:00
Stephen Paul Weber
2948aa3b77 Stub out signature subpackets 2010-03-30 14:46:33 -05:00
Stephen Paul Weber
4a287f7321 Add myself as an author 2010-03-30 13:38:28 -05:00
Stephen Paul Weber
f67dab6053 Implemented SignaturePacket 2010-03-30 13:23:35 -05:00
Stephen Paul Weber
f09335de1d Implement OnePassSignaturePacket 2010-03-30 13:23:25 -05:00
Stephen Paul Weber
e3f332c6ca Implement most of the "new" packet format 2010-03-30 13:04:32 -05:00
Stephen Paul Weber
dc7bc432ea Implement LiteralDataPacket 2010-03-30 12:56:50 -05:00
Stephen Paul Weber
73f93e70fd Implement CompressedDataPacket 2010-03-30 12:54:51 -05:00
Arto Bendiken
360005b368 Created repository. 2010-01-22 11:32:59 +01:00