brk-code

asn1crypto の API リファレンス

asn1crypto (wbond/asn1crypto) の公開 API 58 件 —— クラス 37、関数 2、メソッド 19。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: wbond/asn1crypto

種別件数
クラス37
関数2
メソッド19

API 一覧

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.

この情報について

掲載しているシグネチャは wbond/asn1crypto の公開ソースコードを Python の ast モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る