SecurIdToken Class |
Namespace: SamoyedSoftware.ursa
The SecurIdToken type exposes the following members.
Name | Description | |
---|---|---|
SecurIdToken |
Initializes a new instance of the SecurIdToken class with the value of an existing token.
|
Name | Description | |
---|---|---|
AsSdtidToken |
Gets a SecurIdSdtidToken object representing the same token as the current SecurIdToken object.
| |
AsV2Token |
Gets a SecurIdV2Token object representing the same token as the current SecurIdToken object.
| |
AsV3Token |
Gets a SecurIdV3Token object representing the same token as the current SecurIdToken object.
| |
BirthDate |
Gets the birthdate of the token represented by the current SecurIdToken object.
| |
DecryptedSeed |
Gets the decrypted seed value of the current SecurIdToken object.
| |
EncryptedSeed |
Gets the encrypted seed value of the current SecurIdToken object.
| |
ExpirationDate |
Gets the expiration date of the token represented by the current SecurIdToken object.
| |
Has128BitKey |
Returns if the current SecurIdToken object represents a token with a 128-bit key; if it has a 64-bit key.
| |
HasDecryptedSeed | ||
HasEncryptedSeed | ||
HasModeFlag |
Returns if the current SecurIdToken object represents a token with the Mode flag set; otherwise.
| |
IntervalSeconds |
Gets the number seconds between distinct tokencodes generated by the current SecurIdToken object.
| |
IsDeviceIdRequired |
Returns if a Device ID (Serial Number) is required for the token represented by the current SecurIdToken object; otherwise.
| |
IsEmpty |
Returns if this SecurIdToken object does not contain a valid token; otherwise.
| |
IsLocalPin |
Returns if the current SecurIdToken object represents a token with a local PIN; otherwise.
| |
IsPasswordRequired |
Returns if a Password is required for the token represented by the current SecurIdToken object; otherwise.
| |
IsPinRequiredForTokencode |
Returns if a PIN is required to compute the tokencode for the current SecurIdToken object; otherwise.
| |
IsSmartPhone |
Returns if the current SecurIdToken object represents a token intended for use on a smartphone; otherwise.
| |
Serial |
Gets the Device ID / Serial Number of the current SecurIdToken object.
| |
TokencodeLength |
Gets the number of digits in each tokencode generated by the current SecurIdToken object.
| |
UsesAppDerivedSeeds |
Returns if the current SecurIdToken object represents a token that uses app-derived seeds; otherwise.
| |
UsesTimeDerivedSeeds |
Returns if the current SecurIdToken object represents a token that uses time-derived seeds; otherwise.
| |
Version |
Gets the version number of the current SecurIdToken object.
|
Name | Description | |
---|---|---|
ComputeTokencode(DateTime) |
Computes the tokencode for a given date/time.
| |
ComputeTokencode(DateTime, String) |
Computes the tokencode for a given date/time, using the specified PIN value.
| |
ConvertSecuridDate |
Converts a SecurID® date value (unsigned short) to a DateTime instance.
| |
ConvertToSecuridDate |
Converts a DateTime instance to a SecurID® date value.
| |
DecodeToken |
When implemented in a derived class, decodes the string representation of a token. This method is called by Parse(String, Int32) to initialize the current instance based on the values in the string representation.
| |
Decrypt(String) |
Decrypts the token by passing the supplied password to the Decrypt(String, String) method.
| |
Decrypt(String, String) |
When implemented in a derived class, decrypts the token using the supplied password and Device ID (Serial Number).
| |
Export |
When implemented in a derived class, creates a string representation of the token, which is encrypted using the supplied password and Device ID (Serial Number)
| |
KeyFromBcdTime |
Creates an encryption key value based on a specified number of bytes from a date/time value that is encoded as a packed binary-coded decimal (BCD)
| |
Load |
Loads the string representation of a SecurID® token from a file, and calls Parse(String, Int32) to convert it to an instance of one of the classes derived from SecurIdToken. If the file is in the sdtid format and contains more than one token, the first token is parsed.
| |
Parse(String) |
Converts the string representation of a SecurID® token to an instance of one of the classes derived from SecurIdToken. If the string is in the sdtid format and contains more than one token, the first token is parsed.
| |
Parse(String, Int32) |
Converts the string representation of a SecurID® token to an instance of one of the classes derived from SecurIdToken. If the string is in the sdtid format and contains more than one token, the tokenNumber parameter specifies which token will be parsed.
| |
ScrubDeviceID |
Remove all invalid characters from a SecurID® Device ID (Serial Number)
| |
ShallowCopyTo |
Perform a shallow copy of the current instance to supplied token instance
| |
ToString |
Creates a string listing the values contained in this instance.
| |
ValidateDeviceIDForDecryption |
Checks if the supplied Device ID is valid for use in decrypting this token, and removes any invalid characters from the Device ID.
| |
ValidatePasswordForDecryption |
Checks if the supplied password is valid for use in decrypting this token.
|
Name | Description | |
---|---|---|
SerialChars |
The expected length of a SecurID® Device ID / Serial Number
|