Skip to content

Conversation

@glarrain
Copy link
Contributor

No description provided.

Retrieved on 2019-04-23.

Details
-------

*.google.com
Identity: *.google.com
Verified by: Google Internet Authority G3
Expires: 18/06/19

Subject Name
C (Country):	US
ST (State):	California
L (Locality):	Mountain View
O (Organization):	Google LLC
CN (Common Name):	*.google.com

Issuer Name
C (Country):	US
O (Organization):	Google Trust Services
CN (Common Name):	Google Internet Authority G3

Issued Certificate
Version:	3
Serial Number:	5C 3F 5E 0A F8 7F E3 83 F5 11 3E 51 23 52 EE 26
Not Valid Before:	2019-03-26
Not Valid After:	2019-06-18

Certificate Fingerprints
SHA1:	F5 19 59 D6 6D 50 BB DF 5E EC C0 9D E7 21 10 F6 C6 03 45 B5
MD5:	5F C6 5C 5E 61 F0 66 74 77 B9 4E 6C FC B2 2F 2C

Public Key Info
Key Algorithm:	Elliptic Curve
Key Parameters:	06 08 2A 86 48 CE 3D 03 01 07
Key Size:	256
Key SHA1 Fingerprint:	6F 37 DE 91 C0 D8 E1 AD 64 8E 30 F7 EF 1C 00 22 15 E8 92 6D
Public Key:	04 03 69 59 22 D7 2D B2 66 E5 E4 73 73 51 09 9A F4 88 6F 3D 27 00 D4 FE 6F 5D 6B F9 78 52 50 20 1B 7D 08 52 FB 83 3F F7 56 09 81 51 3A 52 D6 49 AC B3 BB 18 6C 6F A7 5B 55 FC 32 FC E7 B3 5A 2C 45

Extended Key Usage
Allowed Purposes:	Server Authentication
Critical:	No

Key Usage
Usages:	Digital signature
Critical:	Yes
The file is the output of command:
    ./scripts/clean_dte_xml_file.py file \
        'tests/test_data/sii-dte/DTE--76354771-K--33--170.xml' \
        'tests/test_data/sii-dte/DTE--76354771-K--33--170--cleaned.xml'
Although it is quite old (2002), it is helpful to test some cases.

Source: from a sample DTE in
http://www.sii.cl/factura_electronica/factura_mercado/manual_certificacion.pdf
Extract PEM-encoded data of the X.509 certificate inside XML document
'test_data/sii-dte/DTE--76354771-K--33--170.xml'
@glarrain glarrain added the enhancement New feature or request label Apr 24, 2019
@glarrain glarrain self-assigned this Apr 24, 2019
@glarrain glarrain merged commit 88a2645 into develop Apr 24, 2019
@glarrain glarrain deleted the feature/test_data/add-files branch April 24, 2019 20:58
@glarrain glarrain mentioned this pull request Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants