33 BOOST_THROW_EXCEPTION(
Error(
"key is not set"));
37 KeyHandleOsx::doSign(
DigestAlgorithm digestAlgorithm,
const uint8_t* buf,
size_t size)
const 43 KeyHandleOsx::doDecrypt(
const uint8_t* cipherText,
size_t cipherTextLen)
const 49 KeyHandleOsx::doDerivePublicKey()
const static ConstBufferPtr decrypt(const KeyRefOsx &key, const uint8_t *cipherText, size_t cipherSize)
Copyright (c) 2013-2017 Regents of the University of California.
KeyHandleOsx(const KeyRefOsx &key)
static ConstBufferPtr derivePublicKey(const KeyRefOsx &key)
static ConstBufferPtr sign(const KeyRefOsx &key, DigestAlgorithm digestAlgorithm, const uint8_t *buf, size_t size)
Sign buf with key using digestAlgorithm.
shared_ptr< const Buffer > ConstBufferPtr