class X509Certificate extends Object with StObject with _TransferListItem

Annotations
@JSType() @JSImport("crypto", "X509Certificate") @native()
Source
X509Certificate.scala
Linear Supertypes
_TransferListItem, StObject, Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. X509Certificate
  2. _TransferListItem
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new X509Certificate(buffer: BinaryLike)
  2. new X509Certificate()
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val ca: Boolean

    Will be true if this is a Certificate Authority (ca) certificate.

  6. def checkEmail(email: scala.Predef.String, options: X509CheckOptions): UndefOr[scala.Predef.String]
  7. 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 email if the certificate matches,undefined if it does not.

  8. def checkHost(name: scala.Predef.String, options: X509CheckOptions): UndefOr[scala.Predef.String]
  9. 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 name if the certificate matches, undefined if it does not.

  10. def checkIP(ip: scala.Predef.String, options: X509CheckOptions): UndefOr[scala.Predef.String]
  11. 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 ip if the certificate matches, undefined if it does not.

  12. def checkIssued(otherCert: X509Certificate): Boolean

    Checks whether this certificate was issued by the given otherCert.

  13. def checkPrivateKey(privateKey: KeyObject): Boolean

    Checks whether this certificate was issued by the given otherCert.

  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. val fingerprint: scala.Predef.String

    The SHA-1 fingerprint of this certificate.

  18. val fingerprint256: scala.Predef.String

    The SHA-256 fingerprint of this certificate.

  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. val infoAccess: scala.Predef.String

    The information access content of this certificate.

  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  25. val issuer: scala.Predef.String

    The issuer identification included in this certificate.

  26. val issuerCertificate: UndefOr[X509Certificate]

    The issuer certificate or undefined if the issuer certificate is not available.

  27. val keyUsage: Array[scala.Predef.String]

    An array detailing the key usages for this certificate.

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  31. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  32. val publicKey: KeyObject

    The public key for this certificate.

  33. val raw: Buffer

    A Buffer containing the DER encoding of this certificate.

  34. val serialNumber: scala.Predef.String

    The serial number of this certificate.

  35. val subject: scala.Predef.String

    The complete subject of this certificate.

  36. val subjectAltName: scala.Predef.String

    The subject alternative name specified for this certificate.

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. 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.

  39. def toLegacyObject(): PeerCertificate

    Returns information about this certificate using the legacy certificate object encoding.

  40. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  41. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  42. val validFrom: scala.Predef.String

    Returns the PEM-encoded certificate.

  43. val validTo: scala.Predef.String

    The date/time from which this certificate is considered valid.

  44. def valueOf(): Any
    Definition Classes
    Object
  45. def verify(publicKey: 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.

  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from _TransferListItem

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped