Click or drag to resize

SecurIdV3Token Class

Represents a SecurID® token encoded in the Version 3 format
Inheritance Hierarchy

Namespace:  SamoyedSoftware.ursa
Assembly:  SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax
public class SecurIdV3Token : SecurIdToken

The SecurIdV3Token type exposes the following members.

Constructors
  NameDescription
Public methodSecurIdV3Token
Initializes a new instance of the SecurIdV3Token class representing an empty token.
Public methodSecurIdV3Token(SecurIdToken)
Initializes a new instance of the SecurIdV3Token class with the value of an existing token.
Top
Properties
  NameDescription
Public propertyAsSdtidToken
Gets a SecurIdSdtidToken object representing the same token as the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyAsV2Token
Gets a SecurIdV2Token object representing the same token as the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyAsV3Token
Gets a SecurIdV3Token object representing the same token as the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyBirthDate
Gets the birthdate of the token represented by the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyDecryptedSeed
Gets the decrypted seed value of the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyEncryptedSeed
Gets the encrypted seed value of the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyExpirationDate
Gets the expiration date of the token represented by the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyHas128BitKey
Returns if the current SecurIdToken object represents a token with a 128-bit key; if it has a 64-bit key.
(Inherited from SecurIdToken.)
Public propertyHasDecryptedSeed
Returns if DecryptedSeed contains a seed value; otherwise.
(Inherited from SecurIdToken.)
Public propertyHasEncryptedSeed
Returns if EncryptedSeed contains a seed value; otherwise.
(Inherited from SecurIdToken.)
Public propertyHasModeFlag
Returns if the current SecurIdToken object represents a token with the Mode flag set; otherwise.
(Inherited from SecurIdToken.)
Public propertyIntervalSeconds
Gets the number seconds between distinct tokencodes generated by the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyIsDeviceIdRequired
Returns if a Device ID (Serial Number) is required for the token represented by the current SecurIdToken object; otherwise.
(Inherited from SecurIdToken.)
Public propertyIsEmpty
Returns if this SecurIdV3Token object does not contain a valid token; otherwise.
(Overrides SecurIdTokenIsEmpty.)
Public propertyIsLocalPin
Returns if the current SecurIdToken object represents a token with a local PIN; otherwise.
(Inherited from SecurIdToken.)
Public propertyIsPasswordRequired
Returns if a Password is required for the token represented by the current SecurIdToken object; otherwise.
(Inherited from SecurIdToken.)
Public propertyIsPinRequiredForTokencode
Returns if a PIN is required to compute the tokencode for the current SecurIdToken object; otherwise.
(Inherited from SecurIdToken.)
Public propertyIsSmartPhone
Returns if the current SecurIdToken object represents a token intended for use on a smartphone; otherwise.
(Inherited from SecurIdToken.)
Public propertySerial
Gets the Device ID / Serial Number of the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyTokencodeLength
Gets the number of digits in each tokencode generated by the current SecurIdToken object.
(Inherited from SecurIdToken.)
Public propertyUsesAppDerivedSeeds
Returns if the current SecurIdToken object represents a token that uses app-derived seeds; otherwise.
(Inherited from SecurIdToken.)
Public propertyUsesTimeDerivedSeeds
Returns if the current SecurIdToken object represents a token that uses time-derived seeds; otherwise.
(Inherited from SecurIdToken.)
Public propertyVersion
Gets the version number of the current SecurIdToken object.
(Inherited from SecurIdToken.)
Top
Methods
  NameDescription
Protected methodComputeHash
Calculate a hash value for a given password, device ID (serial number), and salt value
Public methodComputeTokencode(DateTime)
Computes the tokencode for a given date/time.
(Inherited from SecurIdToken.)
Public methodComputeTokencode(DateTime, String)
Computes the tokencode for a given date/time, using the specified PIN value.
(Inherited from SecurIdToken.)
Protected methodConvertSecuridDate
Converts a SecurID® date value (unsigned short) to a DateTime instance.
(Inherited from SecurIdToken.)
Protected methodConvertToSecuridDate
Converts a DateTime instance to a SecurID® date value.
(Inherited from SecurIdToken.)
Protected methodConvertToV3TokenDate
Converts a DateTime instance to a SecurID® Version 3 date value.
Protected methodConvertV3TokenDate
Converts a SecurID® Version 3 date value (5 bytes) to a DateTime instance.
Protected methodDecodeToken
Decodes the Version 3 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.
(Overrides SecurIdTokenDecodeToken(String, Int32).)
Public methodDecrypt(String)
Decrypts the token by passing the supplied password to the Decrypt(String, String) method.
(Inherited from SecurIdToken.)
Public methodDecrypt(String, String)
Decrypts the token using the supplied password and Device ID (Serial Number).
(Overrides SecurIdTokenDecrypt(String, String).)
Protected methodDeriveKey
Create an encryption key based on a password, device ID (serial number), salt value, and key number
Public methodExport
Creates a string representation of the token, which is encrypted using the supplied password and device ID.
(Overrides SecurIdTokenExport(String, String).)
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)
(Inherited from SecurIdToken.)
Protected methodScrubDeviceID
Remove all invalid characters from a SecurID® Device ID (Serial Number)
(Inherited from SecurIdToken.)
Protected methodShallowCopyTo
Perform a shallow copy of the current instance to supplied token instance
(Inherited from SecurIdToken.)
Protected methodToBytes
Convert the current SecurIdV3Token object into an array of bytes.
Public methodToString
Creates a string listing the values contained in this instance.
(Inherited from SecurIdToken.)
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.
(Inherited from SecurIdToken.)
Protected methodValidatePasswordForDecryption
Checks if the supplied password is valid for use in decrypting this token.
(Inherited from SecurIdToken.)
Top
See Also