asn1crypto API reference
58 public APIs from asn1crypto (wbond/asn1crypto) — 37 classes, 2 functions, 19 methods. Signatures extracted by static analysis of the actual source.
Repository: wbond/asn1crypto
| Kind | Count |
|---|---|
| Classes | 37 |
| Functions | 2 |
| Methods | 19 |
API list
func
asn1crypto._teletex_codec.register()Registers the teletex codec
class
asn1crypto.core.AbstractStringA base class for all strings that have a known encoding.
class
asn1crypto.core.Asn1ValueThe basis of all ASN.1 values
class
asn1crypto.core.BMPStringRepresents a BMP string from ASN.1 as a Python unicode string
class
asn1crypto.core.BooleanRepresents a boolean in both ASN.1 and Python
class
asn1crypto.core.ChoiceA class to handle when a value may be one of several options
method
asn1crypto.core.Concat.copy()Copies the object :return: A Concat object
class
asn1crypto.core.EmbeddedPdvA sequence structure
class
asn1crypto.core.IA5StringRepresents an IA5 string from ASN.1 as a Python unicode string
class
asn1crypto.core.InstanceOfRepresents an instance from ASN.1 - no Python implementation
class
asn1crypto.core.IntegerRepresents an integer in both ASN.1 and Python
class
asn1crypto.core.IntegerBitStringRepresents a bit string in ASN.1 as a Python integer
class
asn1crypto.core.IntegerOctetStringRepresents a byte string in ASN.1 as a Python integer
class
asn1crypto.core.NullRepresents a null value in ASN.1 as None in Python
class
asn1crypto.core.OctetBitStringRepresents a bit string in ASN.1 as a Python byte string
class
asn1crypto.core.OctetStringRepresents a byte string in both ASN.1 and Python
class
asn1crypto.core.PrimitiveSets the class_ and method attributes for primitive, universal values
method
asn1crypto.core.Primitive.set(value)Sets the value of the object :param value: A byte string
class
asn1crypto.core.RealRepresents a real number from ASN.1 - no Python implementation
class
asn1crypto.core.UTF8StringRepresents a UTF-8 string from ASN.1 as a Python unicode string
class
asn1crypto.core.VoidA representation of an optional value that is not present.
class
asn1crypto.keys.AttributesSource: https://tools.ietf.org/html/rfc5208#page-3
class
asn1crypto.keys.CurveSource: http://www.secg.org/sec1-v2.pdf page 104
class
asn1crypto.keys.DomainParametersSource: https://tools.ietf.org/html/rfc3279#page-10
class
asn1crypto.keys.ECDomainParametersSource: http://www.secg.org/sec1-v2.pdf page 102
class
asn1crypto.keys.ECPrivateKeySource: http://www.secg.org/sec1-v2.pdf page 108
class
asn1crypto.keys.EncryptedPrivateKeyInfoSource: https://tools.ietf.org/html/rfc5208#page-4
class
asn1crypto.keys.FieldIDSource: http://www.secg.org/sec1-v2.pdf page 100
class
asn1crypto.keys.OtherPrimeInfoSource: https://tools.ietf.org/html/rfc3447#page-46
class
asn1crypto.keys.OtherPrimeInfosSource: https://tools.ietf.org/html/rfc3447#page-46
class
asn1crypto.keys.PentanomialSource: http://www.secg.org/sec1-v2.pdf page 102
class
asn1crypto.keys.PrivateKeyInfoSource: https://tools.ietf.org/html/rfc5208#page-3
class
asn1crypto.keys.RSAPrivateKeySource: https://tools.ietf.org/html/rfc3447#page-45
class
asn1crypto.keys.RSAPublicKeySource: https://tools.ietf.org/html/rfc3447#page-44
class
asn1crypto.keys.SpecifiedECDomainSource: http://www.secg.org/sec1-v2.pdf page 103
class
asn1crypto.keys.SpecifiedECDomainVersionSource: http://www.secg.org/sec1-v2.pdf page 104
class
asn1crypto.keys.ValidationParmsSource: https://tools.ietf.org/html/rfc3279#page-10
class
asn1crypto.util.extended_dateA datetime.datetime-like object that represents the year 0.
method
asn1crypto.util.extended_date.day():return: An integer from 1 to 31
method
asn1crypto.util.extended_date.month():return: An integer from 1 to 12
method
asn1crypto.util.extended_date.year():return: The integer 0
class
asn1crypto.util.extended_datetimeA datetime.datetime-like object that represents the year 0.
method
asn1crypto.util.extended_datetime.day():return: An integer from 1 to 31
method
asn1crypto.util.extended_datetime.from_y2k(value)Revert substitution of year 2000.
method
asn1crypto.util.extended_datetime.hour():return: An integer from 1 to 24
method
asn1crypto.util.extended_datetime.microsecond():return: An integer from 0 to 999999
method
asn1crypto.util.extended_datetime.minute():return: An integer from 1 to 60
method
asn1crypto.util.extended_datetime.month():return: An integer from 1 to 12
method
asn1crypto.util.extended_datetime.second():return: An integer from 1 to 60
method
asn1crypto.util.extended_datetime.time():return: A datetime.time object
method
asn1crypto.util.extended_datetime.timestamp()Return POSIX timestamp.
method
asn1crypto.util.extended_datetime.year():return: The integer 0
class
asn1crypto.util.timezoneImplements datetime.timezone for py2.
method
asn1crypto.util.timezone.dst(dt):param dt: A datetime object; ignored.
method
asn1crypto.util.timezone.tzname(dt):param dt: A datetime object; ignored.
method
asn1crypto.util.timezone.utcoffset(dt):param dt: A datetime object; ignored.
method
asn1crypto.x509.Certificate.signature():return: A byte string of the signature
func
dev.deps.run()Installs required development dependencies.
About this data
These signatures were extracted from the public source of wbond/asn1crypto
using Python's ast module. Argument names, default values,
type annotations and return types are taken verbatim from the code.
Implementation bodies are never stored. See
how it works for details.