Click or drag to resize

SecurIdToken Methods

The SecurIdToken type exposes the following members.

Methods
  NameDescription
Public methodComputeTokencode(DateTime)
Computes the tokencode for a given date/time.
Public methodComputeTokencode(DateTime, String)
Computes the tokencode for a given date/time, using the specified PIN value.
Protected methodConvertSecuridDate
Converts a SecurID® date value (unsigned short) to a DateTime instance.
Protected methodConvertToSecuridDate
Converts a DateTime instance to a SecurID® date value.
Protected methodDecodeToken
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.
Public methodDecrypt(String)
Decrypts the token by passing the supplied password to the Decrypt(String, String) method.
Public methodDecrypt(String, String)
When implemented in a derived class, decrypts the token using the supplied password and Device ID (Serial Number).
Public methodExport
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)
Protected methodKeyFromBcdTime
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)
Public methodStatic memberLoad
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.
Public methodStatic memberParse(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.
Public methodStatic memberParse(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.
Protected methodScrubDeviceID
Remove all invalid characters from a SecurID® Device ID (Serial Number)
Protected methodShallowCopyTo
Perform a shallow copy of the current instance to supplied token instance
Public methodToString
Creates a string listing the values contained in this instance.
Protected methodValidateDeviceIDForDecryption
Checks if the supplied Device ID is valid for use in decrypting this token, and removes any invalid characters from the Device ID.
Protected methodValidatePasswordForDecryption
Checks if the supplied password is valid for use in decrypting this token.
Top
See Also