diff options
Diffstat (limited to 'cryptography/c/nid.py')
-rw-r--r-- | cryptography/c/nid.py | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cryptography/c/nid.py b/cryptography/c/nid.py new file mode 100644 index 00000000..b24c8193 --- /dev/null +++ b/cryptography/c/nid.py @@ -0,0 +1,35 @@ +# Licensed 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. + +TYPES = [ + 'static const int NID_undef;', + 'static const int NID_dsa;', + 'static const int NID_dsaWithSHA;', + 'static const int NID_dsaWithSHA1;', + 'static const int NID_md4;', + 'static const int NID_md5;', + 'static const int NID_mdc2;', + 'static const int NID_ripemd160;', + 'static const int NID_sha;', + 'static const int NID_sha1;', + 'static const int NID_sha256;', + 'static const int NID_sha384;', + 'static const int NID_sha512;', + 'static const int NID_sha224;', + 'static const int NID_sha;', + 'static const int NID_ecdsa_with_SHA1;', + 'static const int NID_ecdsa_with_SHA224;', + 'static const int NID_ecdsa_with_SHA256;', + 'static const int NID_ecdsa_with_SHA384;', + 'static const int NID_ecdsa_with_SHA512;', +] |