class X509Certificate extends cryptoMod.X509Certificate
- Annotations
- @JSType() @JSImport("node:crypto", "X509Certificate") @native()
- Source
- nodeCryptoMod.scala
- Alphabetic
- By Inheritance
- X509Certificate
- X509Certificate
- _TransferListItem
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new X509Certificate(buffer: BinaryLike)
- new X509Certificate()
- Attributes
- protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val ca: Boolean
Will be
trueif this is a Certificate Authority (ca) certificate.Will be
trueif this is a Certificate Authority (ca) certificate.- Definition Classes
- X509Certificate
- def checkEmail(email: scala.Predef.String, options: X509CheckOptions): UndefOr[scala.Predef.String]
- Definition Classes
- X509Certificate
- def checkEmail(email: scala.Predef.String): UndefOr[scala.Predef.String]
Checks whether the certificate matches the given email address.
Checks whether the certificate matches the given email address.
Returns
emailif the certificate matches,undefinedif it does not.- Definition Classes
- X509Certificate
- def checkHost(name: scala.Predef.String, options: X509CheckOptions): UndefOr[scala.Predef.String]
- Definition Classes
- X509Certificate
- def checkHost(name: scala.Predef.String): UndefOr[scala.Predef.String]
Checks whether the certificate matches the given host name.
Checks whether the certificate matches the given host name.
Returns
nameif the certificate matches,undefinedif it does not.- Definition Classes
- X509Certificate
- def checkIP(ip: scala.Predef.String, options: X509CheckOptions): UndefOr[scala.Predef.String]
- Definition Classes
- X509Certificate
- def checkIP(ip: scala.Predef.String): UndefOr[scala.Predef.String]
Checks whether the certificate matches the given IP address (IPv4 or IPv6).
Checks whether the certificate matches the given IP address (IPv4 or IPv6).
Returns
ipif the certificate matches,undefinedif it does not.- Definition Classes
- X509Certificate
- def checkIssued(otherCert: cryptoMod.X509Certificate): Boolean
Checks whether this certificate was issued by the given
otherCert.Checks whether this certificate was issued by the given
otherCert.- Definition Classes
- X509Certificate
- def checkPrivateKey(privateKey: cryptoMod.KeyObject): Boolean
Checks whether this certificate was issued by the given
otherCert.Checks whether this certificate was issued by the given
otherCert.- Definition Classes
- X509Certificate
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val fingerprint: scala.Predef.String
The SHA-1 fingerprint of this certificate.
The SHA-1 fingerprint of this certificate.
- Definition Classes
- X509Certificate
- val fingerprint256: scala.Predef.String
The SHA-256 fingerprint of this certificate.
The SHA-256 fingerprint of this certificate.
- Definition Classes
- X509Certificate
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasOwnProperty(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val infoAccess: scala.Predef.String
The information access content of this certificate.
The information access content of this certificate.
- Definition Classes
- X509Certificate
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val issuer: scala.Predef.String
The issuer identification included in this certificate.
The issuer identification included in this certificate.
- Definition Classes
- X509Certificate
- val issuerCertificate: UndefOr[cryptoMod.X509Certificate]
The issuer certificate or
undefinedif the issuer certificate is not available.The issuer certificate or
undefinedif the issuer certificate is not available.- Definition Classes
- X509Certificate
- val keyUsage: Array[scala.Predef.String]
An array detailing the key usages for this certificate.
An array detailing the key usages for this certificate.
- Definition Classes
- X509Certificate
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def propertyIsEnumerable(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- val publicKey: cryptoMod.KeyObject
The public key for this certificate.
The public key for this certificate.
- Definition Classes
- X509Certificate
- val raw: Buffer
A
Buffercontaining the DER encoding of this certificate.A
Buffercontaining the DER encoding of this certificate.- Definition Classes
- X509Certificate
- val serialNumber: scala.Predef.String
The serial number of this certificate.
The serial number of this certificate.
- Definition Classes
- X509Certificate
- val subject: scala.Predef.String
The complete subject of this certificate.
The complete subject of this certificate.
- Definition Classes
- X509Certificate
- val subjectAltName: scala.Predef.String
The subject alternative name specified for this certificate.
The subject alternative name specified for this certificate.
- Definition Classes
- X509Certificate
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toJSON(): scala.Predef.String
There is no standard JSON encoding for X509 certificates.
There is no standard JSON encoding for X509 certificates. The
toJSON()method returns a string containing the PEM encoded certificate.- Definition Classes
- X509Certificate
- def toLegacyObject(): PeerCertificate
Returns information about this certificate using the legacy certificate object encoding.
Returns information about this certificate using the legacy certificate object encoding.
- Definition Classes
- X509Certificate
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- val validFrom: scala.Predef.String
Returns the PEM-encoded certificate.
Returns the PEM-encoded certificate.
- Definition Classes
- X509Certificate
- val validTo: scala.Predef.String
The date/time from which this certificate is considered valid.
The date/time from which this certificate is considered valid.
- Definition Classes
- X509Certificate
- def valueOf(): Any
- Definition Classes
- Object
- def verify(publicKey: cryptoMod.KeyObject): Boolean
Verifies that this certificate was signed by the given public key.
Verifies that this certificate was signed by the given public key. Does not perform any other validation checks on the certificate.
- Definition Classes
- X509Certificate
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated