C# Class Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider

显示文件 Open project: ermau/WinRT.NET Class Usage Examples

Public Methods

Method Description
CreateSymmetricKey ( Windows.Storage.Streams.IBuffer keyMaterial ) : CryptographicKey
EnumerateAlgorithms ( ) : IReadOnlyList
ImportKey ( Windows.Storage.Streams.IBuffer keyBlob ) : CryptographicKey
OpenAlgorithm ( string algorithm ) : SymmetricKeyAlgorithmProvider

Private Methods

Method Description
SymmetricKeyAlgorithmProvider ( string name, SymmetricAlgorithm algorithm ) : System

Method Details

CreateSymmetricKey() public method

public CreateSymmetricKey ( Windows.Storage.Streams.IBuffer keyMaterial ) : CryptographicKey
keyMaterial Windows.Storage.Streams.IBuffer
return CryptographicKey

EnumerateAlgorithms() public static method

public static EnumerateAlgorithms ( ) : IReadOnlyList
return IReadOnlyList

ImportKey() public method

public ImportKey ( Windows.Storage.Streams.IBuffer keyBlob ) : CryptographicKey
keyBlob Windows.Storage.Streams.IBuffer
return CryptographicKey

OpenAlgorithm() public static method

public static OpenAlgorithm ( string algorithm ) : SymmetricKeyAlgorithmProvider
algorithm string
return SymmetricKeyAlgorithmProvider