C# Class BraintreeEncryption.Library.BouncyCastle.Util.Arrays

General array utilities.
Afficher le fichier Open project: braintree/braintree_windows_phone_encryption

Méthodes publiques

Méthode Description
AreEqual ( bool a, bool b ) : bool
AreEqual ( byte a, byte b ) : bool

Are two arrays equal.

AreEqual ( char a, char b ) : bool
AreEqual ( int a, int b ) : bool
Clone ( byte data ) : byte[]
Clone ( int data ) : int[]
ConstantTimeAreEqual ( byte a, byte b ) : bool

A constant time equals comparison - does not terminate early if test will fail.

GetHashCode ( byte data ) : int
ToString ( object a ) : string

Private Methods

Méthode Description
AreSame ( byte a, byte b ) : bool
Arrays ( ) : System
HaveSameContents ( bool a, bool b ) : bool
HaveSameContents ( byte a, byte b ) : bool
HaveSameContents ( char a, char b ) : bool
HaveSameContents ( int a, int b ) : bool

Method Details

AreEqual() public static méthode

public static AreEqual ( bool a, bool b ) : bool
a bool
b bool
Résultat bool

AreEqual() public static méthode

Are two arrays equal.
public static AreEqual ( byte a, byte b ) : bool
a byte Left side.
b byte Right side.
Résultat bool

AreEqual() public static méthode

public static AreEqual ( char a, char b ) : bool
a char
b char
Résultat bool

AreEqual() public static méthode

public static AreEqual ( int a, int b ) : bool
a int
b int
Résultat bool

Clone() public static méthode

public static Clone ( byte data ) : byte[]
data byte
Résultat byte[]

Clone() public static méthode

public static Clone ( int data ) : int[]
data int
Résultat int[]

ConstantTimeAreEqual() public static méthode

A constant time equals comparison - does not terminate early if test will fail.
public static ConstantTimeAreEqual ( byte a, byte b ) : bool
a byte first array
b byte second array
Résultat bool

GetHashCode() public static méthode

public static GetHashCode ( byte data ) : int
data byte
Résultat int

ToString() public static méthode

public static ToString ( object a ) : string
a object
Résultat string