Class FinSecurityMediaGDM
Implements the IFinSecurityMedia interface for Giesecke & Devrient RSA smart
cards.
Inheritance
System.Object
FinSecurityMediaGDM
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Subsembly.FinTS.SmartCard.dll
public class FinSecurityMediaGDM : FinSecurityMediaSmartCard, IFinSecurityMedia, IFinSecurityMediaSmartCard
Constructors
Declaration
public FinSecurityMediaGDM()
Methods
Declaration
protected override FinAuthenticateResult OnChangePin(string sOldPin, string sNewPin)
Parameters
Type |
Name |
Description |
System.String |
sOldPin |
|
System.String |
sNewPin |
|
Returns
Overrides
Declaration
protected override FinAuthenticateResult OnChangePinSecure()
Returns
Overrides
Declaration
protected override byte[] OnDecrypt(FinContact aContact, FinSecureKey aKey, FinOperationMode nOpMode, byte[] vbCrypt)
Parameters
Returns
Type |
Description |
System.Byte[] |
|
Overrides
Declaration
protected override void OnEraseContact(int nContactIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
nContactIndex |
|
Overrides
Declaration
protected override void OnEraseKey(FinContact aContact, FinSecureKey aKey)
Parameters
Overrides
Declaration
protected override FinSecureKey OnGenerateKey(FinContact aContact, FinSecureKeyType nKeyType, int nKeyLength, int nKeyNumber, int nKeyVersion)
Parameters
Type |
Name |
Description |
FinContact |
aContact |
|
FinSecureKeyType |
nKeyType |
|
System.Int32 |
nKeyLength |
|
System.Int32 |
nKeyNumber |
|
System.Int32 |
nKeyVersion |
|
Returns
Overrides
Declaration
protected override FinSecurityMediaCaps OnGetCapabilities()
Returns
Overrides
Declaration
protected override int OnGetContactCapacity()
Returns
Type |
Description |
System.Int32 |
The contact capacity of a GDM card is usually either 2 or 5. In any case it is in
the range from 1 through 7.
|
Overrides
Declaration
protected override FinSecurityMediaPassphraseFlags OnGetPassphraseFlags()
Returns
Overrides
Declaration
protected override int OnGetPassphraseMaxLength()
Returns
Type |
Description |
System.Int32 |
|
Overrides
Declaration
protected override FinAuthenticateResult OnInitPin(string sPin)
Parameters
Type |
Name |
Description |
System.String |
sPin |
|
Returns
Overrides
Declaration
protected override void OnReadContact(FinContact aContact, int nContactIndex)
Parameters
Type |
Name |
Description |
FinContact |
aContact |
|
System.Int32 |
nContactIndex |
|
Overrides
Declaration
protected override FinSecureKey OnReadKey(FinContact aContact, FinSecureKeyType nKeyType, int nKeyNumber, int nKeyVersion)
Parameters
Returns
Overrides
Declaration
protected override void OnReleaseCard(CardExpress aCard)
Parameters
Type |
Name |
Description |
Subsembly.SmartCard.CardExpress |
aCard |
|
Overrides
Declaration
protected override byte[] OnSelectCard(CardExpress aCard)
Parameters
Type |
Name |
Description |
Subsembly.SmartCard.CardExpress |
aCard |
|
Returns
Type |
Description |
System.Byte[] |
|
Overrides
Declaration
protected override byte[] OnSignHash(FinContact aContact, FinSecureKey aKey, FinOperationMode nOpMode, FinHash nHash, byte[] vbHash)
Parameters
Returns
Type |
Description |
System.Byte[] |
|
Overrides
Declaration
protected override void OnUpdateKeyState(FinContact aContact, FinSecureKey aKey)
Parameters
Overrides
Declaration
protected override FinAuthenticateResult OnVerifyPin(string sPin)
Parameters
Type |
Name |
Description |
System.String |
sPin |
|
Returns
Overrides
Declaration
protected override void OnVerifyPinOK()
Overrides
Declaration
protected override FinAuthenticateResult OnVerifyPinSecure()
Returns
Overrides
Declaration
protected override void OnWriteContact(FinContact aContact, int nContactIndex)
Parameters
Type |
Name |
Description |
FinContact |
aContact |
|
System.Int32 |
nContactIndex |
|
Overrides
Declaration
protected override void OnWriteKey(FinContact aContact, FinSecureKey aKey)
Parameters
Overrides
Implements