Variable certificateLookupNames
certificateLookupNames: (
cert: any,
) => {
authorityKeyIdentifier: string;
issuer: any;
selfIssued: boolean;
subject: any;
subjectKeyIdentifier: string;
} = certificateLookupNames
Type Declaration
-
- (
cert: any,
): {
authorityKeyIdentifier: string;
issuer: any;
selfIssued: boolean;
subject: any;
subjectKeyIdentifier: string;
}
-
Returns {
authorityKeyIdentifier: string;
issuer: any;
selfIssued: boolean;
subject: any;
subjectKeyIdentifier: string;
}
{ subject, issuer, subjectKeyIdentifier, authorityKeyIdentifier, selfIssued }; selfIssued is the RFC 5280 section 3.3 sense, the two
names equal, and says nothing about the signature
Reads what an issuer lookup compares: the subject and issuer as canonical RDN lists, the subjectKeyIdentifier, and the keyIdentifier of the authorityKeyIdentifier, each as lower-case hex or '' where absent.