Packages

package cryptoMod

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. cryptoMod
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait AsymmetricKeyDetails extends Object with StObject
    Annotations
    @JSType() @native()
  2. type BinaryLike = |[String, ArrayBufferView]
  3. trait BinaryToTextEncoding extends Object with StObject
    Annotations
    @JSType()
  4. trait CharacterEncoding extends Object with StObject
    Annotations
    @JSType()
  5. trait DSAEncoding extends Object with StObject
    Annotations
    @JSType()
  6. trait Encoding extends Object with StObject
    Annotations
    @JSType()
  7. trait JsonWebKey extends Object with StObject with StringDictionary[Any]
    Annotations
    @JSType() @native()
  8. trait JwkKeyExportOptions extends Object with StObject
    Annotations
    @JSType() @native()
  9. trait KeyExportOptions[T] extends Object with StObject
    Annotations
    @JSType() @native()
  10. trait KeyFormat extends Object with StObject
    Annotations
    @JSType()
  11. class KeyObject extends Object with StObject with _KeyLike

    Node.js uses a KeyObject class to represent a symmetric or asymmetric key, and each kind of key exposes different functions.

    Node.js uses a KeyObject class to represent a symmetric or asymmetric key, and each kind of key exposes different functions. The createSecretKey, createPublicKey and createPrivateKey methods are used to create KeyObjectinstances. KeyObject objects are not to be created directly using the newkeyword.

    Most applications should consider using the new KeyObject API instead of passing keys as strings or Buffers due to improved security features.

    KeyObject instances can be passed to other threads via postMessage(). The receiver obtains a cloned KeyObject, and the KeyObject does not need to be listed in the transferList argument.

    Annotations
    @JSType() @JSImport("crypto", "KeyObject") @native()
    Since

    v11.6.0

  12. trait KeyObjectType extends Object with StObject
    Annotations
    @JSType()
  13. trait KeyType extends Object with StObject
    Annotations
    @JSType()
  14. trait LegacyCharacterEncoding extends Object with StObject
    Annotations
    @JSType()
  15. class X509Certificate extends Object with StObject

    Encapsulates an X509 certificate and provides read-only access to its information.

    Encapsulates an X509 certificate and provides read-only access to its information.

    js const { X509Certificate } = await import('crypto');

    const x509 = new X509Certificate('{... pem encoded cert ...}');

    console.log(x509.subject);

    Annotations
    @JSType() @JSImport("crypto", "X509Certificate") @native()
    Since

    v15.6.0

  16. trait X509CheckOptions extends Object with StObject
    Annotations
    @JSType() @native()
  17. trait _KeyLike extends Object with StObject
    Annotations
    @JSType()

Value Members

  1. object AsymmetricKeyDetails
  2. object BinaryToTextEncoding
  3. object CharacterEncoding
  4. object DSAEncoding
  5. object Encoding
  6. object JsonWebKey
  7. object JwkKeyExportOptions
  8. object KeyExportOptions
  9. object KeyFormat
  10. object KeyObject
  11. object KeyObjectType
  12. object KeyType
  13. object LegacyCharacterEncoding
  14. object X509CheckOptions
  15. object ^ extends Object with StObject
    Annotations
    @JSImport("crypto", JSImport.Namespace) @native()
  16. object webcrypto

Inherited from AnyRef

Inherited from Any

Ungrouped