C# Class System.Security.Cryptography.SymmetricAlgorithm

Inheritance: IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Protected Properties

Свойство Type Description
BlockSizeValue int
FeedbackSizeValue int
IVValue byte[]
KeySizeValue int
KeyValue byte[]
LegalBlockSizesValue System.Security.Cryptography.KeySizes[]
LegalKeySizesValue System.Security.Cryptography.KeySizes[]
ModeValue CipherMode
PaddingValue PaddingMode

Méthodes publiques

Méthode Description
Clear ( ) : void
Create ( ) : SymmetricAlgorithm
Create ( string algName ) : SymmetricAlgorithm
CreateDecryptor ( ) : ICryptoTransform
CreateDecryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform
CreateEncryptor ( ) : ICryptoTransform
CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform
Dispose ( ) : void
GenerateIV ( ) : void
GenerateKey ( ) : void
ValidKeySize ( int bitLength ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
SymmetricAlgorithm ( )

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Create() public static méthode

public static Create ( ) : SymmetricAlgorithm
Résultat SymmetricAlgorithm

Create() public static méthode

public static Create ( string algName ) : SymmetricAlgorithm
algName string
Résultat SymmetricAlgorithm

CreateDecryptor() public méthode

public CreateDecryptor ( ) : ICryptoTransform
Résultat ICryptoTransform

CreateDecryptor() public abstract méthode

public abstract CreateDecryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform
rgbKey byte
rgbIV byte
Résultat ICryptoTransform

CreateEncryptor() public méthode

public CreateEncryptor ( ) : ICryptoTransform
Résultat ICryptoTransform

CreateEncryptor() public abstract méthode

public abstract CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform
rgbKey byte
rgbIV byte
Résultat ICryptoTransform

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GenerateIV() public abstract méthode

public abstract GenerateIV ( ) : void
Résultat void

GenerateKey() public abstract méthode

public abstract GenerateKey ( ) : void
Résultat void

SymmetricAlgorithm() protected méthode

protected SymmetricAlgorithm ( )

ValidKeySize() public méthode

public ValidKeySize ( int bitLength ) : bool
bitLength int
Résultat bool

Property Details

BlockSizeValue protected_oe property

protected int BlockSizeValue
Résultat int

FeedbackSizeValue protected_oe property

protected int FeedbackSizeValue
Résultat int

IVValue protected_oe property

protected byte[] IVValue
Résultat byte[]

KeySizeValue protected_oe property

protected int KeySizeValue
Résultat int

KeyValue protected_oe property

protected byte[] KeyValue
Résultat byte[]

LegalBlockSizesValue protected_oe property

protected KeySizes[],System.Security.Cryptography LegalBlockSizesValue
Résultat System.Security.Cryptography.KeySizes[]

LegalKeySizesValue protected_oe property

protected KeySizes[],System.Security.Cryptography LegalKeySizesValue
Résultat System.Security.Cryptography.KeySizes[]

ModeValue protected_oe property

protected CipherMode ModeValue
Résultat CipherMode

PaddingValue protected_oe property

protected PaddingMode PaddingValue
Résultat PaddingMode