Home | History | Annotate | Download | only in crypto

Lines Matching defs:RSAPrivateKey

23 std::unique_ptr<RSAPrivateKey> RSAPrivateKey::Create(uint16_t num_bits) {
34 std::unique_ptr<RSAPrivateKey> result(new RSAPrivateKey);
43 std::unique_ptr<RSAPrivateKey> RSAPrivateKey::CreateFromPrivateKeyInfo(
53 std::unique_ptr<RSAPrivateKey> result(new RSAPrivateKey);
59 std::unique_ptr<RSAPrivateKey> RSAPrivateKey::CreateFromKey(EVP_PKEY* key) {
63 std::unique_ptr<RSAPrivateKey> copy(new RSAPrivateKey);
69 RSAPrivateKey::RSAPrivateKey() {}
71 RSAPrivateKey::~RSAPrivateKey() {}
73 std::unique_ptr<RSAPrivateKey> RSAPrivateKey::Copy() const {
74 std::unique_ptr<RSAPrivateKey> copy(new RSAPrivateKey);
84 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8_t>* output) const {
99 bool RSAPrivateKey::ExportPublicKey(std::vector<uint8_t>* output) const {