Home | History | Annotate | Download | only in crypto

Lines Matching defs:SymmetricKey

15 SymmetricKey::~SymmetricKey() {}
18 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
35 return new SymmetricKey(sym_key);
39 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
80 return new SymmetricKey(sym_key);
84 SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
108 return new SymmetricKey(sym_key);
111 bool SymmetricKey::GetRawKey(std::string* raw_key) {
126 SymmetricKey* SymmetricKey::CreateFromKey(PK11SymKey* key) {
127 return new SymmetricKey(key);
131 SymmetricKey::SymmetricKey(PK11SymKey* key) : key_(key) {