diff options
author | Christina Fu <cfu@redhat.com> | 2012-09-18 14:47:17 -0700 |
---|---|---|
committer | Christina Fu <cfu@redhat.com> | 2012-09-18 14:53:01 -0700 |
commit | 6257d326cca9e55f9d6898bb2b227f22485322b7 (patch) | |
tree | 4fb62a51653394f9f5feb170f51ac7fae6b86ea0 /base/tps/src/main/Buffer.cpp | |
parent | 8ed86a749548ed2c373026ec34f5284a329bb7c2 (diff) | |
download | pki-6257d326cca9e55f9d6898bb2b227f22485322b7.tar.gz pki-6257d326cca9e55f9d6898bb2b227f22485322b7.tar.xz pki-6257d326cca9e55f9d6898bb2b227f22485322b7.zip |
https://fedorahosted.org/pki/ticket/304
TMS ECC infrastructure (enrollment with client-side and server-side key generation, and key archival)
Diffstat (limited to 'base/tps/src/main/Buffer.cpp')
-rw-r--r-- | base/tps/src/main/Buffer.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/base/tps/src/main/Buffer.cpp b/base/tps/src/main/Buffer.cpp index 2a547feea..94311fc50 100644 --- a/base/tps/src/main/Buffer.cpp +++ b/base/tps/src/main/Buffer.cpp @@ -222,6 +222,16 @@ Buffer::string() return s; } +TPS_PUBLIC unsigned char* +Buffer::getBuf() { + return (unsigned char *) buf; +} + +TPS_PUBLIC unsigned int +Buffer::getLen() { + return len; +} + TPS_PUBLIC char * Buffer::toHex() { |