Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/oscrypto/_asn1.py: 97%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# coding: utf-8
2from __future__ import unicode_literals, division, absolute_import, print_function
4# This file exists strictly to make it easier to vendor a combination of
5# oscrypto and asn1crypto
7from asn1crypto import algos, cms, core, keys, pem, pkcs12, util, x509
9DHParameters = algos.DHParameters
10DSASignature = algos.DSASignature
11KeyExchangeAlgorithm = algos.KeyExchangeAlgorithm
12Pbkdf2Salt = algos.Pbkdf2Salt
14EncryptedData = cms.EncryptedData
16Integer = core.Integer
17Null = core.Null
18OctetString = core.OctetString
20DSAParams = keys.DSAParams
21DSAPrivateKey = keys.DSAPrivateKey
22ECDomainParameters = keys.ECDomainParameters
23ECPointBitString = keys.ECPointBitString
24ECPrivateKey = keys.ECPrivateKey
25EncryptedPrivateKeyInfo = keys.EncryptedPrivateKeyInfo
26PrivateKeyAlgorithm = keys.PrivateKeyAlgorithm
27PrivateKeyInfo = keys.PrivateKeyInfo
28PublicKeyAlgorithm = keys.PublicKeyAlgorithm
29PublicKeyInfo = keys.PublicKeyInfo
30RSAPrivateKey = keys.RSAPrivateKey
31RSAPublicKey = keys.RSAPublicKey
33int_from_bytes = util.int_from_bytes
34int_to_bytes = util.int_to_bytes
35OrderedDict = util.OrderedDict
36timezone = util.timezone
38armor = pem.armor
39unarmor = pem.unarmor
41CertBag = pkcs12.CertBag
42Pfx = pkcs12.Pfx
43SafeContents = pkcs12.SafeContents
45Certificate = x509.Certificate
46TrustedCertificate = x509.TrustedCertificate
48__all__ = [
49 'armor',
50 'CertBag',
51 'Certificate',
52 'DHParameters',
53 'DSAParams',
54 'DSAPrivateKey',
55 'DSASignature',
56 'ECDomainParameters',
57 'ECPointBitString',
58 'ECPrivateKey',
59 'EncryptedData',
60 'EncryptedPrivateKeyInfo',
61 'int_from_bytes',
62 'int_to_bytes',
63 'Integer',
64 'KeyExchangeAlgorithm',
65 'Null',
66 'OctetString',
67 'OrderedDict',
68 'Pbkdf2Salt',
69 'Pfx',
70 'PrivateKeyAlgorithm',
71 'PrivateKeyInfo',
72 'PublicKeyAlgorithm',
73 'PublicKeyInfo',
74 'RSAPrivateKey',
75 'RSAPublicKey',
76 'SafeContents',
77 'timezone',
78 'TrustedCertificate',
79 'unarmor',
80]