Méthode | Description | |
---|---|---|
ClearByteList ( List |
writes over all values in list with 0 then call list.Clear()
|
|
FromBase64 ( byte base64Data ) : byte[] | ||
FromBase64 ( string base64String ) : byte[] | ||
FromHex ( string base16String ) : byte[] |
converts string of hexadecimal characters to a byte[] two characters are converted into one byte
|
|
FromHex ( string base16String, string delimeter ) : byte[] |
converts string of hexadecimal characters to a byte[] two characters are converted into one byte
|
|
GetDataType ( this aConstraint ) : |
Gets the Type of the Data object for a given Agent.KeyConstraintType
|
|
ModMinusOne ( PinnedArray |
Computes a % (b -1) of 2 large numbers
|
|
ToBase64 ( this binaryData ) : byte[] | ||
ToBytes ( this aInt ) : byte[] |
Convert 32 bit integer to four bytes in BigEndian order
|
|
ToHexString ( this bytes ) : string |
Converts array of bytes to a string of hexadecimal digits delimited by':'. Alpha digits will be lower case.
|
|
ToHexString ( this bytes, string delimeter ) : string |
Converts array of bytes to a string of hexadecimal digits. Alpha digits will be lower case.
|
|
ToInt ( this aBytes ) : |
Converts 4 bytes in BigEndian order to 32 bit integer
|
|
ToInt ( this aBytes, int aOffset ) : |
Converts 4 bytes in BigEndian order to 32 bit integer
|
|
TrimLeadingZero ( PinnedArray |
removes leading element from array if the value of that element is 0
|
|
UnicodeToAnsi ( this unicodeChar ) : byte |
Unicode char to to ANSI char. Based on http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WindowsBestFit/bestfit1252.txt |
|
WriteBlob ( this aStream, |
Writes aBuiler data to aStream at current position of aStream
|
|
addConfirmConstraint ( this |
Adds Agent.KeyConstraintType.SSH_AGENT_CONSTRAIN_CONFIRM constraint to key
|
|
addLifetimeConstraint ( this |
Adds Agent.KeyConstraintType.SSH_AGENT_CONSTRAIN_LIFETIME constraint to key
|
Méthode | Description | |
---|---|---|
CompareBigInt ( byte a, byte b, int bShift ) : int |
Compares to BigInts
|
|
GenericTransform ( ICryptoTransform transform, byte data ) : byte[] | ||
SubtractBigInt ( byte a, byte b, int bShift ) : byte[] |
Compute a - b, assumes that a > b<<bShift
|
public static ClearByteList ( List |
||
list | List |
list to be cleared |
Résultat | void |
public static FromBase64 ( byte base64Data ) : byte[] | ||
base64Data | byte | |
Résultat | byte[] |
public static FromBase64 ( string base64String ) : byte[] | ||
base64String | string | |
Résultat | byte[] |
public static FromHex ( string base16String ) : byte[] | ||
base16String | string | the string to convert |
Résultat | byte[] |
public static FromHex ( string base16String, string delimeter ) : byte[] | ||
base16String | string | the string to convert |
delimeter | string | the delimiter that is present between each pair of digits |
Résultat | byte[] |
public static GetDataType ( this aConstraint ) : |
||
aConstraint | this | |
Résultat |
public static ModMinusOne ( PinnedArray |
||
a | PinnedArray |
variable a |
b | PinnedArray |
variable b |
Résultat | PinnedArray |
public static ToBase64 ( this binaryData ) : byte[] | ||
binaryData | this | |
Résultat | byte[] |
public static ToBytes ( this aInt ) : byte[] | ||
aInt | this | integer to convert |
Résultat | byte[] |
public static ToHexString ( this bytes ) : string | ||
bytes | this | the byte[] to convert |
Résultat | string |
public static ToHexString ( this bytes, string delimeter ) : string | ||
bytes | this | the byte[] to convert |
delimeter | string | a delimiter to insert in-between each pair of digits |
Résultat | string |
public static ToInt ( this aBytes ) : |
||
aBytes | this | array of bytes |
Résultat |
public static ToInt ( this aBytes, int aOffset ) : |
||
aBytes | this | array of bytes |
aOffset | int | the offset where to start reading the bytes |
Résultat |
public static TrimLeadingZero ( PinnedArray |
||
array | PinnedArray |
|
Résultat | void |
public static UnicodeToAnsi ( this unicodeChar ) : byte | ||
unicodeChar | this | /// Unicode char. /// |
Résultat | byte |
public static WriteBlob ( this aStream, |
||
aStream | this | Stream to write to |
aBuilder | BlobBuilder to use | |
Résultat | void |
public static addConfirmConstraint ( this |
||
aKeyCollection | this |
|
Résultat | void |
public static addLifetimeConstraint ( this |
||
aKeyCollection | this |
|
aLifetime | uint | |
Résultat | void |