X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=doc%2Fexamples.rst;h=f5b58d9a1dabcec2a385927ed4dd0399d0f4d7c1;hp=f780360d8c6e0d8073b4a74eb3fcf5a824aa8ffe;hb=d917b94f24e274ad2af0caccb1eaeb27bd90af60;hpb=4c1b43b088ca8320cf8b2a8e506e55f88f981486 diff --git a/doc/examples.rst b/doc/examples.rst index f780360..f5b58d9 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -179,9 +179,10 @@ it's DER encoded representation is already in ``raw`` variable):: >>> crt, tail = Certificate().decode(raw) >>> crt - Certificate SEQUENCE[TBSCertificate SEQUENCE[[0] EXPLICIT Version - INTEGER v3 OPTIONAL, CertificateSerialNumber INTEGER 61595, - AlgorithmIdentifier SEQUENCE[OBJECT IDENTIFIER 1.2.840.113549.1.1.5... + Certificate SEQUENCE[tbsCertificate: TBSCertificate SEQUENCE[ + version: [0] EXPLICIT Version INTEGER v3 OPTIONAL; + serialNumber: CertificateSerialNumber INTEGER 61595; + signature: AlgorithmIdentifier SEQUENCE[OBJECT IDENTIFIER 1.2.840.113549.1.1.5... Pretty printing ---------------