Class AsymmetricKeyAlgorithmProvider

Index

Properties

Methods

Properties

public algorithmName: string

Methods

public createKeyPair(keySize: number): CryptographicKey

Parameters

  • keySize: number

Returns

CryptographicKey

public importKeyPair(keyBlob: IBuffer): CryptographicKey

Parameters

Returns

CryptographicKey

public importKeyPair(keyBlob: IBuffer, BlobType: CryptographicPrivateKeyBlobType): CryptographicKey

Parameters

Returns

CryptographicKey

public importPublicKey(keyBlob: IBuffer): CryptographicKey

Parameters

Returns

CryptographicKey

public importPublicKey(keyBlob: IBuffer, BlobType: CryptographicPublicKeyBlobType): CryptographicKey

Parameters

Returns

CryptographicKey

public static openAlgorithm(algorithm: string): AsymmetricKeyAlgorithmProvider

Parameters

  • algorithm: string

Returns

AsymmetricKeyAlgorithmProvider