PeerCertificate
[<Interface>]
type PeerCertificate =
abstract member asn1Curve: string option with get, set
abstract member bits: float option with get, set
abstract member ca: bool with get, set
abstract member exponent: string option with get, set
abstract member ext_key_usage: string array option with get, set
abstract member fingerprint: string with get, set
abstract member fingerprint256: string with get, set
abstract member fingerprint512: string with get, set
abstract member infoAccess: Record<string,string array option> option with get, set
abstract member issuer: Certificate with get, set
abstract member modulus: string option with get, set
abstract member nistCurve: string option with get, set
abstract member pubkey: NonSharedBuffer option with get, set
abstract member raw: NonSharedBuffer with get, set
abstract member serialNumber: string with get, set
abstract member subject: Certificate with get, set
abstract member subjectaltname: string option with get, set
abstract member valid_from: string with get, set
abstract member valid_to: string with get, set
static member Create (ca: bool, raw: NonSharedBuffer, subject: Certificate, issuer: Certificate, valid_from: string, valid_to: string, serialNumber: string, fingerprint: string, fingerprint256: string, fingerprint512: string, ?ext_key_usage: string array, ?subjectaltname: string, ?infoAccess: Record<string,string array option>, ?bits: float, ?exponent: string, ?modulus: string, ?pubkey: NonSharedBuffer, ?asn1Curve: string, ?nistCurve: string) : PeerCertificate| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Properties
abstract member asn1Curve: string option with get, set
abstract member asn1Curve: string option with get, setThe ASN.1 name of the OID of the elliptic curve. Well-known curves are identified by an OID. While it is unusual, it is possible that the curve is identified by its mathematical properties, in which case it will not have an OID.
abstract member bits: float option with get, set
abstract member bits: float option with get, setFor RSA keys: The RSA bit size.
For EC keys: The key size in bits.
abstract member ca: bool with get, set
abstract member ca: bool with get, settrue if a Certificate Authority (CA), false otherwise.
@since v18.13.0
abstract member exponent: string option with get, set
abstract member exponent: string option with get, setThe RSA exponent, as a string in hexadecimal number notation.
abstract member ext_key_usage: string array option with get, set
abstract member ext_key_usage: string array option with get, setThe extended key usage, a set of OIDs.
abstract member fingerprint: string with get, set
abstract member fingerprint: string with get, setThe SHA-1 digest of the DER encoded certificate. It is returned as a : separated hexadecimal string.
abstract member fingerprint256: string with get, set
abstract member fingerprint256: string with get, setThe SHA-256 digest of the DER encoded certificate. It is returned as a : separated hexadecimal string.
abstract member fingerprint512: string with get, set
abstract member fingerprint512: string with get, setThe SHA-512 digest of the DER encoded certificate. It is returned as a : separated hexadecimal string.
abstract member infoAccess: Record<string,string array option> option with get, set
abstract member infoAccess: Record<string,string array option> option with get, setAn array describing the AuthorityInfoAccess, used with OCSP.
abstract member issuer: Certificate with get, set
abstract member issuer: Certificate with get, setThe certificate issuer, described in the same terms as the subject.
abstract member nistCurve: string option with get, set
abstract member nistCurve: string option with get, setThe NIST name for the elliptic curve, if it has one (not all well-known curves have been assigned names by NIST).
abstract member pubkey: NonSharedBuffer option with get, set
abstract member pubkey: NonSharedBuffer option with get, setThe public key.
abstract member raw: NonSharedBuffer with get, set
abstract member raw: NonSharedBuffer with get, setThe DER encoded X.509 certificate data.
abstract member subjectaltname: string option with get, set
abstract member subjectaltname: string option with get, setA string containing concatenated names for the subject, an alternative to the subject names.
Methods
static member Create (ca: bool, raw: NonSharedBuffer, subject: Certificate, issuer: Certificate, valid_from: string, valid_to: string, serialNumber: string, fingerprint: string, fingerprint256: string, fingerprint512: string, ?ext_key_usage: string array, ?subjectaltname: string, ?infoAccess: Record<string,string array option>, ?bits: float, ?exponent: string, ?modulus: string, ?pubkey: NonSharedBuffer, ?asn1Curve: string, ?nistCurve: string) : PeerCertificate