sdkagent

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

KindCount
Classes37
Functions2
Methods19

API list

funcasn1crypto._teletex_codec.register()
Registers the teletex codec
classasn1crypto.core.AbstractString
A base class for all strings that have a known encoding.
classasn1crypto.core.Asn1Value
The basis of all ASN.1 values
classasn1crypto.core.BMPString
Represents a BMP string from ASN.1 as a Python unicode string
classasn1crypto.core.Boolean
Represents a boolean in both ASN.1 and Python
classasn1crypto.core.Choice
A class to handle when a value may be one of several options
methodasn1crypto.core.Concat.copy()
Copies the object :return: A Concat object
classasn1crypto.core.EmbeddedPdv
A sequence structure
classasn1crypto.core.IA5String
Represents an IA5 string from ASN.1 as a Python unicode string
classasn1crypto.core.InstanceOf
Represents an instance from ASN.1 - no Python implementation
classasn1crypto.core.Integer
Represents an integer in both ASN.1 and Python
classasn1crypto.core.IntegerBitString
Represents a bit string in ASN.1 as a Python integer
classasn1crypto.core.IntegerOctetString
Represents a byte string in ASN.1 as a Python integer
classasn1crypto.core.Null
Represents a null value in ASN.1 as None in Python
classasn1crypto.core.OctetBitString
Represents a bit string in ASN.1 as a Python byte string
classasn1crypto.core.OctetString
Represents a byte string in both ASN.1 and Python
classasn1crypto.core.Primitive
Sets the class_ and method attributes for primitive, universal values
methodasn1crypto.core.Primitive.set(value)
Sets the value of the object :param value: A byte string
classasn1crypto.core.Real
Represents a real number from ASN.1 - no Python implementation
classasn1crypto.core.UTF8String
Represents a UTF-8 string from ASN.1 as a Python unicode string
classasn1crypto.core.Void
A representation of an optional value that is not present.
classasn1crypto.keys.Attributes
Source: https://tools.ietf.org/html/rfc5208#page-3
classasn1crypto.keys.Curve
Source: http://www.secg.org/sec1-v2.pdf page 104
classasn1crypto.keys.DomainParameters
Source: https://tools.ietf.org/html/rfc3279#page-10
classasn1crypto.keys.ECDomainParameters
Source: http://www.secg.org/sec1-v2.pdf page 102
classasn1crypto.keys.ECPrivateKey
Source: http://www.secg.org/sec1-v2.pdf page 108
classasn1crypto.keys.EncryptedPrivateKeyInfo
Source: https://tools.ietf.org/html/rfc5208#page-4
classasn1crypto.keys.FieldID
Source: http://www.secg.org/sec1-v2.pdf page 100
classasn1crypto.keys.OtherPrimeInfo
Source: https://tools.ietf.org/html/rfc3447#page-46
classasn1crypto.keys.OtherPrimeInfos
Source: https://tools.ietf.org/html/rfc3447#page-46
classasn1crypto.keys.Pentanomial
Source: http://www.secg.org/sec1-v2.pdf page 102
classasn1crypto.keys.PrivateKeyInfo
Source: https://tools.ietf.org/html/rfc5208#page-3
classasn1crypto.keys.RSAPrivateKey
Source: https://tools.ietf.org/html/rfc3447#page-45
classasn1crypto.keys.RSAPublicKey
Source: https://tools.ietf.org/html/rfc3447#page-44
classasn1crypto.keys.SpecifiedECDomain
Source: http://www.secg.org/sec1-v2.pdf page 103
classasn1crypto.keys.SpecifiedECDomainVersion
Source: http://www.secg.org/sec1-v2.pdf page 104
classasn1crypto.keys.ValidationParms
Source: https://tools.ietf.org/html/rfc3279#page-10
classasn1crypto.util.extended_date
A datetime.datetime-like object that represents the year 0.
methodasn1crypto.util.extended_date.day()
:return: An integer from 1 to 31
methodasn1crypto.util.extended_date.month()
:return: An integer from 1 to 12
methodasn1crypto.util.extended_date.year()
:return: The integer 0
classasn1crypto.util.extended_datetime
A datetime.datetime-like object that represents the year 0.
methodasn1crypto.util.extended_datetime.day()
:return: An integer from 1 to 31
methodasn1crypto.util.extended_datetime.from_y2k(value)
Revert substitution of year 2000.
methodasn1crypto.util.extended_datetime.hour()
:return: An integer from 1 to 24
methodasn1crypto.util.extended_datetime.microsecond()
:return: An integer from 0 to 999999
methodasn1crypto.util.extended_datetime.minute()
:return: An integer from 1 to 60
methodasn1crypto.util.extended_datetime.month()
:return: An integer from 1 to 12
methodasn1crypto.util.extended_datetime.second()
:return: An integer from 1 to 60
methodasn1crypto.util.extended_datetime.time()
:return: A datetime.time object
methodasn1crypto.util.extended_datetime.timestamp()
Return POSIX timestamp.
methodasn1crypto.util.extended_datetime.year()
:return: The integer 0
classasn1crypto.util.timezone
Implements datetime.timezone for py2.
methodasn1crypto.util.timezone.dst(dt)
:param dt: A datetime object; ignored.
methodasn1crypto.util.timezone.tzname(dt)
:param dt: A datetime object; ignored.
methodasn1crypto.util.timezone.utcoffset(dt)
:param dt: A datetime object; ignored.
methodasn1crypto.x509.Certificate.signature()
:return: A byte string of the signature
funcdev.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.

Back to all 805 libraries