1 // Copyright 2019 Google LLC 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 // 15 //////////////////////////////////////////////////////////////////////////////// 16 17 #ifndef TINK_PRF_PRF_CONFIG_H_ 18 #define TINK_PRF_PRF_CONFIG_H_ 19 20 #include "tink/util/status.h" 21 #include "proto/tink.pb.h" 22 23 /////////////////////////////////////////////////////////////////////////////// 24 // Static methods and constants for registering with the Registry 25 // all instances of Prf key types supported in a particular release of Tink. 26 27 namespace crypto { 28 namespace tink { 29 30 class PrfConfig { 31 public: 32 // Registers Prf key managers for all Prf key types from the current Tink 33 // release. 34 static crypto::tink::util::Status Register(); 35 }; 36 37 } // namespace tink 38 } // namespace crypto 39 40 #endif // TINK_PRF_PRF_CONFIG_H_ 41