forked from engineering/cloudservices
update x509 typings
parent
79ca0d82ce
commit
fe2b352b58
|
@ -5,7 +5,9 @@ declare module '@ghaiklor/x509' {
|
||||||
stateOrProvinceName: string,
|
stateOrProvinceName: string,
|
||||||
localityName: string,
|
localityName: string,
|
||||||
organizationName: string,
|
organizationName: string,
|
||||||
commonName: string
|
organizationalUnitName: string,
|
||||||
|
commonName: string,
|
||||||
|
emailAddress: string
|
||||||
}
|
}
|
||||||
interface Subject {
|
interface Subject {
|
||||||
countryName: string,
|
countryName: string,
|
||||||
|
@ -15,7 +17,8 @@ declare module '@ghaiklor/x509' {
|
||||||
streetAddress: string,
|
streetAddress: string,
|
||||||
organizationName: string,
|
organizationName: string,
|
||||||
organizationalUnitName: string,
|
organizationalUnitName: string,
|
||||||
commonName: string
|
commonName: string,
|
||||||
|
emailAddress: string
|
||||||
}
|
}
|
||||||
interface Extensions {
|
interface Extensions {
|
||||||
keyUsage: string,
|
keyUsage: string,
|
||||||
|
@ -34,7 +37,8 @@ declare module '@ghaiklor/x509' {
|
||||||
version: number,
|
version: number,
|
||||||
subject: Certificate.Subject,
|
subject: Certificate.Subject,
|
||||||
issuer: Certificate.Issuer,
|
issuer: Certificate.Issuer,
|
||||||
serial: number,
|
fingerPrint: string,
|
||||||
|
serial: string,
|
||||||
notBefore: Date,
|
notBefore: Date,
|
||||||
notAfter: Date,
|
notAfter: Date,
|
||||||
subjectHash: string,
|
subjectHash: string,
|
||||||
|
|
Loading…
Reference in New Issue