úÎ!Ñ,      !"#$%&'()*+unknown experimental#Vincent Hanquez <vincent@snarc.org> ,      unknown experimental#Vincent Hanquez <vincent@snarc.org>-Nparse a PEM content that is delimited by the begin string and the end string, O and returns the base64-decoded bytestring on success or a string on error. unknown experimental#Vincent Hanquez <vincent@snarc.org>?./0Certificate Version Certificate Serial number  Certificate Signature algorithm Certificate Issuer DN Certificate Subject DN Certificate Validity period Certificate Public key ,Certificate Extensions (format will change) .Certificate Signature Algorithm and Signature any others fields not parsed 1Certificate DN Common Name #Certificate DN Country of Issuance !Certificate DN Organization "!Certificate DN Organization Unit # Certificate DN Other Attributes $%&'unrecognized format (DSA format with (pub, p, q, g) )*RSA format with (len modulus, modulus, e) 23456789:;,parse a RSA pubkeys from ASN1 encoded bits. = - return PubKeyRSA (len-modulus, modulus, e) if successful <=>?@ABCDEFGHIJKLM:parse header structure of a x509 certificate. it contains G - the version, the serial number, the issuer DN, the validity period, ( - the subject DN, and the public keys NUparse root structure of a x509 certificate. this has to be a sequence of 3 objects :  - * the header  - * the signature algorithm  - * the signature *-decode a X509 certificate from a bytestring OPQ++encode a X509 certificate to a bytestring  !"#$%&'()*+&)('$% !"#*+  !"# !"#$%%&)(''()*+R      !"#$%%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRcertificate-0.2.1Data.Certificate.KeyData.Certificate.PEMData.Certificate.X509 PrivateKeyprivKey_versionprivKey_lenmodulusprivKey_modulusprivKey_public_exponantprivKey_private_exponant privKey_p1 privKey_p2 privKey_exp1 privKey_exp2 privKey_coefdecodePrivateKeyencodePrivateKeyparsePEM parsePEMCert parsePEMKey Certificate certVersion certSerialcertSignatureAlg certIssuerDN certSubjectDN certValidity certPubKeycertExtensions certSignature certOthers CertificateDN cdnCommonName cdnCountrycdnOrganizationcdnOrganizationUnit cdnOthersPubKey PubKeyDesc PubKeyUnknown PubKeyDSA PubKeyRSAdecodeCertificateencodeCertificateparsePrivateKeymapTill ParseCertPrunPTime SignatureALGSignatureALG_UnknownSignatureALG_dsaWithSHA1SignatureALG_dsaSignatureALG_rsa"SignatureALG_sha1WithRSAEncryption!SignatureALG_md2WithRSAEncryption!SignatureALG_md5WithRSAEncryptionOID parse_RSA runParseCertgetNext getRemaininghasNextlookNextparseCertHeaderVersionparseCertHeaderSerial sig_tableoidSigsigOIDparseCertHeaderAlgorithmIDstringOfASN1PrintStringparseCertHeaderDNHelperparseCertHeaderDNparseCertHeaderValidityparseCertHeaderSubjectPKparseCertExtensionsparseCertificateprocessCertificateencodeDNencodePKencodeCertificateHeader