Class EbicsSecurityMediumSeccos
Inheritance
EbicsSecurityMediumSeccos
Assembly: Subsembly.EBICS.SmartCard.dll
Syntax
public class EbicsSecurityMediumSeccos : IEbicsSecurityMedium, IEbicsSecurityOperations, IEbicsSecurityMediumClass2, IEbicsSecurityMediumSignaturePin
Fields
CLASSNAME
Declaration
public const string CLASSNAME = "Subsembly.EBICS.EbicsSecurityMediumSeccos"
Field Value
Properties
CanChangePIN
Indicates whether the PIN can be changed.
Declaration
public bool CanChangePIN { get; }
Property Value
HaveSignaturePIN
Declaration
public bool HaveSignaturePIN { get; }
Property Value
IsClass2
Declaration
public bool IsClass2 { get; }
Property Value
LastError
Declaration
public EbicsSecurityMediumErrorCode LastError { get; }
Property Value
SecurityMedium
Declaration
public string SecurityMedium { get; }
Property Value
SecurityMediumID
Declaration
public string SecurityMediumID { get; }
Property Value
SecurityMediumType
Declaration
public EbicsSecurityMediumType SecurityMediumType { get; }
Property Value
State
Declaration
public EbicsSecurityMediumState State { get; }
Property Value
SupportedSecurityCodes
Declaration
public EbicsSecurityCode SupportedSecurityCodes { get; }
Property Value
Methods
Authenticate(string)
Declaration
public bool Authenticate(string sPIN)
Parameters
Type |
Name |
Description |
string |
sPIN |
The CSA-PIN of the SECCOS card.
If null , then this will try a secure authentication at the card reader
PIN pad.
|
Returns
AuthenticateSecure()
Declaration
public bool AuthenticateSecure()
Returns
See Also
ChangePIN(string, string)
Declaration
public bool ChangePIN(string sOldPIN, string sNewPIN)
Parameters
Type |
Name |
Description |
string |
sOldPIN |
The old CSA-PIN or the Transport-CSA-PIN. This must not be null . The
given PIN must have a length between four and eight digits.
|
string |
sNewPIN |
The new CSA-PIN. This must not be null . This must have a length between six
and eight digits.
|
Returns
Exceptions
ChangePINSecure()
Changes the CSA-PIN by using the PIN pad of a class 2 card reader.
Declaration
public bool ChangePINSecure()
Returns
See Also
ChangeSignaturePIN(string, string)
Changes the Signature-PIN.
Declaration
public bool ChangeSignaturePIN(string sOldPIN, string sNewPIN)
Parameters
Type |
Name |
Description |
string |
sOldPIN |
The current Signature PIN to be changed. This can be the initial five digit
Transport PIN or a real PIN. The length of this PIN must be from four to twelve
digits. A Transport PIN has five digits.
|
string |
sNewPIN |
The new Signature PIN to use. The length of this PIN must be from six to twelve
digits. A PIN length of six digits is recommended.
|
Returns
Exceptions
ChangeSignaturePINSecure()
Declaration
public bool ChangeSignaturePINSecure()
Returns
Create(string, string)
Not supported by smart cards and therefore returns always false.
Declaration
public bool Create(string sSecurityMediaID, string sPIN)
Parameters
Returns
Detect()
Detect SECCOS card in any connected card reader.
Declaration
public static string Detect()
Returns
Type |
Description |
string |
The card ID that must be passed to Select(string), if a SECCOS card was
found. Or null if no card was found.
|
GetPasswordInfo()
Declaration
public EbicsPasswordInfo GetPasswordInfo()
Returns
Declaration
public IEbicsSecurityOperations GetSecurityOperations(EbicsContact aContact)
Parameters
Returns
Release()
Declaration
Select(string)
Declaration
public bool Select(string sSecurityMediaID)
Parameters
Type |
Name |
Description |
string |
sSecurityMediaID |
|
Returns
SetSignaturePIN(string)
Provide the Signature-PIN for accessing the digital signature key.
Declaration
public void SetSignaturePIN(string sPIN)
Parameters
Type |
Name |
Description |
string |
sPIN |
The PIN that shall be used when access to the digital signature key is required.
If the value null is set, then a secure PIN entry is attempted instead.
|
Implements