aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509cert/x509_obj.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-17 22:45:46 +0000
committerlloyd <[email protected]>2010-09-17 22:45:46 +0000
commit1e085faeb6d2288941de6adf7ccbacf4452875f6 (patch)
tree805d3cfd4f5b14fff877fe23e8ccba79651d8ee6 /src/cert/x509cert/x509_obj.h
parentf69375f3a137af835bd6e74dd5c5a1e94c882d8c (diff)
Don't use SecureVector to store certificate data; mlock'ed memory in
particular is precious. Really these could probably just as easily be std::vectors since even zeroizing the memory isn't relevant here.
Diffstat (limited to 'src/cert/x509cert/x509_obj.h')
-rw-r--r--src/cert/x509cert/x509_obj.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cert/x509cert/x509_obj.h b/src/cert/x509cert/x509_obj.h
index 9451582c7..86c1d6ce7 100644
--- a/src/cert/x509cert/x509_obj.h
+++ b/src/cert/x509cert/x509_obj.h
@@ -27,12 +27,12 @@ class BOTAN_DLL X509_Object
* The underlying data that is to be or was signed
* @return data that is or was signed
*/
- SecureVector<byte> tbs_data() const;
+ MemoryVector<byte> tbs_data() const;
/**
* @return signature on tbs_data()
*/
- SecureVector<byte> signature() const;
+ MemoryVector<byte> signature() const;
/**
* @return signature algorithm that was used to generate signature
@@ -70,7 +70,7 @@ class BOTAN_DLL X509_Object
/**
* @return BER encoding of this
*/
- SecureVector<byte> BER_encode() const;
+ MemoryVector<byte> BER_encode() const;
/**
* @return PEM encoding of this
@@ -93,7 +93,7 @@ class BOTAN_DLL X509_Object
void do_decode();
X509_Object() {}
AlgorithmIdentifier sig_algo;
- SecureVector<byte> tbs_bits, sig;
+ MemoryVector<byte> tbs_bits, sig;
private:
virtual void force_decode() = 0;
void init(DataSource&, const std::string&);