diff options
author | JinWang An <jinwang.an@samsung.com> | 2021-12-01 16:54:36 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2021-12-01 16:54:36 +0900 |
commit | 3a4efa5aa27f73c93a1b020b8b30f07f0b4e46c7 (patch) | |
tree | b736cbf7c30b64e009a62666238787ae6881eb2c /lang/python/gpg/constants/sig | |
parent | 10e16af58579b2e22154d944d8cb4144924a8406 (diff) | |
download | gpgme-3a4efa5aa27f73c93a1b020b8b30f07f0b4e46c7.tar.gz gpgme-3a4efa5aa27f73c93a1b020b8b30f07f0b4e46c7.tar.bz2 gpgme-3a4efa5aa27f73c93a1b020b8b30f07f0b4e46c7.zip |
Imported Upstream version 1.8.0upstream/1.8.0
Diffstat (limited to 'lang/python/gpg/constants/sig')
-rw-r--r-- | lang/python/gpg/constants/sig/__init__.py | 6 | ||||
-rw-r--r-- | lang/python/gpg/constants/sig/mode.py | 23 | ||||
-rw-r--r-- | lang/python/gpg/constants/sig/notation.py | 25 |
3 files changed, 54 insertions, 0 deletions
diff --git a/lang/python/gpg/constants/sig/__init__.py b/lang/python/gpg/constants/sig/__init__.py new file mode 100644 index 0000000..39d4e6e --- /dev/null +++ b/lang/python/gpg/constants/sig/__init__.py @@ -0,0 +1,6 @@ + +from __future__ import absolute_import, print_function, unicode_literals +del absolute_import, print_function, unicode_literals + +from . import mode, notation +__all__ = ['mode', 'notation'] diff --git a/lang/python/gpg/constants/sig/mode.py b/lang/python/gpg/constants/sig/mode.py new file mode 100644 index 0000000..0f4f0ef --- /dev/null +++ b/lang/python/gpg/constants/sig/mode.py @@ -0,0 +1,23 @@ +# Copyright (C) 2004 Igor Belyi <belyi@users.sourceforge.net> +# Copyright (C) 2002 John Goerzen <jgoerzen@complete.org> +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +from __future__ import absolute_import, print_function, unicode_literals +del absolute_import, print_function, unicode_literals + +from gpg import util +util.process_constants('GPGME_SIG_MODE_', globals()) +del util diff --git a/lang/python/gpg/constants/sig/notation.py b/lang/python/gpg/constants/sig/notation.py new file mode 100644 index 0000000..9a79e01 --- /dev/null +++ b/lang/python/gpg/constants/sig/notation.py @@ -0,0 +1,25 @@ +# Constants for signature notation data. +# +# Copyright (C) 2016 g10 Code GmbH +# +# This file is part of GPGME. +# +# GPGME is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# GPGME is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General +# Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, see <http://www.gnu.org/licenses/>. + +from __future__ import absolute_import, print_function, unicode_literals +del absolute_import, print_function, unicode_literals + +from gpg import util +util.process_constants('GPGME_SIG_NOTATION_', globals()) +del util |