Queries an X.509 certificate for a given value.
Búsquedas un certificado X.509 para un valor dado.
| Cmd : | QUERYCERT Command |
| .NET : | Sat.QueryCert Method |
| VBA/VB6 : | satQueryCert Function |
| C (ANSI) : | SAT_QueryCert Function |
| C++ (STL) : | firmasat::Sat::QueryCert |
| Query | Result |
|---|---|
| notAfter | Get certificate expiry date |
| notBefore | Get certificate start date |
| organizationName | Get organization name of issuer. Expecting "Servicio de Administración Tributaria" if issued by SAT |
| orgName | Shorter form of organizationName |
| companyName | Get organization name of subject. This should be your company name. New in [v10.40] |
| rfc | Get RFC of subject. Expecting 12 or 13 characters if issued by SAT. |
| serialNumber | Get decoded serial number. Expecting 20 decimal digits if issued by SAT. |
| sigAlg | Get algorithm used to sign certificate (e.g. "sha256WithRSAEncryption") |
| keySize | Get size in bits of certificate's public key (e.g. "2048") |
Note that the sigAlg option gives the algorithm used to sign the certificate,
not the algorithm used for the sello node.