diff options
author | lloyd <[email protected]> | 2008-04-10 05:26:22 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-04-10 05:26:22 +0000 |
commit | f9bdb307da05d9c60fb1614acc2b8ff7c3b7a0e7 (patch) | |
tree | a3eebd417236a584c4907dac75f90d9b814396c8 /include | |
parent | fc01b5a4bb338c892a928c869e31bb58bf4dd319 (diff) |
Remove the pem/ config arguments. Replace with arguments to the individual
functions in pem.h. All have defaults with reasonable values.
Diffstat (limited to 'include')
-rw-r--r-- | include/pem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pem.h b/include/pem.h index b076995d7..1d873d238 100644 --- a/include/pem.h +++ b/include/pem.h @@ -15,12 +15,12 @@ namespace PEM_Code { /************************************************* * PEM Encoding/Decoding * *************************************************/ -std::string encode(const byte[], u32bit, const std::string&); -std::string encode(const MemoryRegion<byte>&, const std::string&); +std::string encode(const byte[], u32bit, const std::string&, u32bit = 64); +std::string encode(const MemoryRegion<byte>&, const std::string&, u32bit = 64); SecureVector<byte> decode(DataSource&, std::string&); SecureVector<byte> decode_check_label(DataSource&, const std::string&); -bool matches(DataSource&, const std::string& = ""); +bool matches(DataSource&, const std::string& = "", u32bit search_range = 4096); } |