/* Licensed to Stichting The Commons Conservancy (TCC) under one or more * contributor license agreements. See the AUTHORS file distributed with * this work for additional information regarding copyright ownership. * TCC licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include #include "signtext.h" #ifndef CRYPTO_H #define CRYPTO_H void crypto_start(SignTextData *signtext); GcrCollection * crypto_filter(SignTextInstance *instance, GcrCollection *certificates); void crypto_instance_start(SignTextInstance *instance, GcrCollection *certificates); gboolean crypto_instance_append_ca(SignTextInstance *instance, const gchar *ca, GError **gerror); void crypto_sign(SignTextInstance *instance); void crypto_sign_continue(SignTextInstance *instance); gboolean crypto_sign_done(SignTextInstance *instance); #endif