Home Reference Source
public class | source

crypto

Extends:

lib/make.js~make → crypto

Static Member Summary

Static Public Members
public static get

algorithmNames: {"sign": *, "verify": *, "generateKey": *, "importKey": *, "exportKey": *, "encrypt": *, "decrypt": *, "deriveBits": *, "deriveKey": *, "wrapKey": *, "unwrapKey": *, "digest": *}

public static get

algorithms: {"RSASSA-PKCS1-v1_5": *, "RSA-PSS": *, "RSA-OAEP": *, "ECDSA": *, "ECDH": *, "AES-CTR": *, "AES-CBC": *, "AES-GCM": *, "AES-KW": *, "HMAC": *, "HKDF": *, "PBKDF2": *, "DH": *}

public static get
public static get
public static get
public static get
public static get
public static get

Static Method Summary

Static Public Methods
public static
public static

randomAlgorithmName(method: *): *

public static

randomCandidate(operation: *): *

public static
public static
public static
public static
public static
public static
public static
public static

Static Public Members

public static get algorithmNames: {"sign": *, "verify": *, "generateKey": *, "importKey": *, "exportKey": *, "encrypt": *, "decrypt": *, "deriveBits": *, "deriveKey": *, "wrapKey": *, "unwrapKey": *, "digest": *} source

public static get algorithms: {"RSASSA-PKCS1-v1_5": *, "RSA-PSS": *, "RSA-OAEP": *, "ECDSA": *, "ECDH": *, "AES-CTR": *, "AES-CBC": *, "AES-GCM": *, "AES-KW": *, "HMAC": *, "HKDF": *, "PBKDF2": *, "DH": *} source

public static get curves: string[] source

public static get jwkKeyTypes: string[] source

public static get jwkUsages: string[] source

public static get keyFormats: string[] source

public static get keyTypes: string[] source

public static get keyUsages: string[] source

Static Public Methods

public static randomAlgorithm(): * source

Return:

*

public static randomAlgorithmName(method: *): * source

Params:

NameTypeAttributeDescription
method *

Return:

*

public static randomCandidate(operation: *): * source

Params:

NameTypeAttributeDescription
operation *

Return:

*

public static randomCurve(): * source

Return:

*

public static randomDigestName(): * source

Return:

*

public static randomJwkKeyType(): * source

Return:

*

public static randomJwkUsage(): * source

Return:

*

public static randomKeyFormat(): * source

Return:

*

public static randomKeyType(): * source

Return:

*

public static randomKeyUsage(): * source

Return:

*

public static supportedAlgorithms() source