moving to scripts
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
def check_pkcs7_padding(data: bytes) -> bool: ...
|
||||
def check_ansix923_padding(data: bytes) -> bool: ...
|
||||
@@ -0,0 +1,16 @@
|
||||
import typing
|
||||
|
||||
from cryptography.x509 import TLSFeature, PrecertPoison
|
||||
|
||||
class TestCertificate:
|
||||
not_after_tag: int
|
||||
not_before_tag: int
|
||||
issuer_value_tags: typing.List[int]
|
||||
subject_value_tags: typing.List[int]
|
||||
|
||||
def decode_dss_signature(signature: bytes) -> typing.Tuple[int, int]: ...
|
||||
def encode_dss_signature(r: int, s: int) -> bytes: ...
|
||||
def encode_tls_feature(ext: TLSFeature) -> bytes: ...
|
||||
def encode_precert_poison(ext: PrecertPoison) -> bytes: ...
|
||||
def parse_spki_for_data(data: bytes) -> bytes: ...
|
||||
def test_parse_certificate(data: bytes) -> TestCertificate: ...
|
||||
@@ -0,0 +1,5 @@
|
||||
from cryptography.x509 import ExtensionType
|
||||
from cryptography.x509.ocsp import OCSPRequest, OCSPResponse
|
||||
|
||||
def load_der_ocsp_request(data: bytes) -> OCSPRequest: ...
|
||||
def load_der_ocsp_response(data: bytes) -> OCSPResponse: ...
|
||||
@@ -0,0 +1,23 @@
|
||||
import datetime
|
||||
import typing
|
||||
|
||||
from cryptography import x509
|
||||
|
||||
def parse_csr_extension(
|
||||
der_oid: bytes, ext_data: bytes
|
||||
) -> x509.ExtensionType: ...
|
||||
def load_pem_x509_certificate(data: bytes) -> x509.Certificate: ...
|
||||
def load_der_x509_certificate(data: bytes) -> x509.Certificate: ...
|
||||
def load_pem_x509_crl(data: bytes) -> x509.CertificateRevocationList: ...
|
||||
def load_der_x509_crl(data: bytes) -> x509.CertificateRevocationList: ...
|
||||
def load_pem_x509_csr(data: bytes) -> x509.CertificateSigningRequest: ...
|
||||
def load_der_x509_csr(data: bytes) -> x509.CertificateSigningRequest: ...
|
||||
def encode_precertificate_signed_certificate_timestamps(
|
||||
extension: x509.PrecertificateSignedCertificateTimestamps,
|
||||
) -> bytes: ...
|
||||
|
||||
class Sct: ...
|
||||
class Certificate: ...
|
||||
class RevokedCertificate: ...
|
||||
class CertificateRevocationList: ...
|
||||
class CertificateSigningRequest: ...
|
||||
Reference in New Issue
Block a user