update x509 typings

merge-requests/1/merge
Matthew 2019-10-30 00:03:28 -04:00
parent 79ca0d82ce
commit fe2b352b58
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 7 additions and 3 deletions

10
types/x509.d.ts vendored
View File

@ -5,7 +5,9 @@ declare module '@ghaiklor/x509' {
stateOrProvinceName: string,
localityName: string,
organizationName: string,
commonName: string
organizationalUnitName: string,
commonName: string,
emailAddress: string
}
interface Subject {
countryName: string,
@ -15,7 +17,8 @@ declare module '@ghaiklor/x509' {
streetAddress: string,
organizationName: string,
organizationalUnitName: string,
commonName: string
commonName: string,
emailAddress: string
}
interface Extensions {
keyUsage: string,
@ -34,7 +37,8 @@ declare module '@ghaiklor/x509' {
version: number,
subject: Certificate.Subject,
issuer: Certificate.Issuer,
serial: number,
fingerPrint: string,
serial: string,
notBefore: Date,
notAfter: Date,
subjectHash: string,