Class EbicsSecurityMediumSeccos
Inheritance
System.Object
EbicsSecurityMediumSeccos
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.EBICS.SmartCard.dll
Syntax
public class EbicsSecurityMediumSeccos : IEbicsSecurityMedium, IEbicsSecurityOperations, IEbicsSecurityMediumClass2, IEbicsSecurityMediumSignaturePin
Fields
CLASSNAME
Declaration
public const string CLASSNAME = "Subsembly.EBICS.EbicsSecurityMediumSeccos"
Field Value
Type |
Description |
System.String |
|
Properties
CanChangePIN
Indicates whether the PIN can be changed.
Declaration
public bool CanChangePIN { get; }
Property Value
Type |
Description |
System.Boolean |
|
HaveSignaturePIN
Declaration
public bool HaveSignaturePIN { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsClass2
Declaration
public bool IsClass2 { get; }
Property Value
Type |
Description |
System.Boolean |
|
LastError
Declaration
public EbicsSecurityMediumErrorCode LastError { get; }
Property Value
SecurityMedium
Declaration
public string SecurityMedium { get; }
Property Value
Type |
Description |
System.String |
|
SecurityMediumID
Declaration
public string SecurityMediumID { get; }
Property Value
Type |
Description |
System.String |
|
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 |
System.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
Type |
Description |
System.Boolean |
|
AuthenticateSecure()
Declaration
public bool AuthenticateSecure()
Returns
Type |
Description |
System.Boolean |
|
See Also
ChangePIN(String, String)
Declaration
public bool ChangePIN(string sOldPIN, string sNewPIN)
Parameters
Type |
Name |
Description |
System.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.
|
System.String |
sNewPIN |
The new CSA-PIN. This must not be null . This must have a length between six
and eight digits.
|
Returns
Type |
Description |
System.Boolean |
|
Exceptions
Type |
Condition |
System.ArgumentNullException |
One of the parameters was null .
|
System.ArgumentException |
One of the given PINs has an inappropriate length.
|
System.InvalidOperationException |
The current State was not Selected
|
ChangePINSecure()
Changes the CSA-PIN by using the PIN pad of a class 2 card reader.
Declaration
public bool ChangePINSecure()
Returns
Type |
Description |
System.Boolean |
|
See Also
ChangeSignaturePIN(String, String)
Changes the Signature-PIN.
Declaration
public bool ChangeSignaturePIN(string sOldPIN, string sNewPIN)
Parameters
Type |
Name |
Description |
System.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.
|
System.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
Type |
Description |
System.Boolean |
|
Exceptions
Type |
Condition |
System.ArgumentNullException |
Either parameter was null .
|
System.ArgumentException |
The length of either PIN was not within the requirements.
|
System.InvalidOperationException |
The current State was not Selected
|
ChangeSignaturePINSecure()
Declaration
public bool ChangeSignaturePINSecure()
Returns
Type |
Description |
System.Boolean |
|
Create(String, String)
Not supported by smart cards and therefore returns always false.
Declaration
public bool Create(string sSecurityMediaID, string sPIN)
Parameters
Type |
Name |
Description |
System.String |
sSecurityMediaID |
|
System.String |
sPIN |
|
Returns
Type |
Description |
System.Boolean |
|
Detect()
Detect SECCOS card in any connected card reader.
Declaration
public static string Detect()
Returns
Type |
Description |
System.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 |
System.String |
sSecurityMediaID |
|
Returns
Type |
Description |
System.Boolean |
|
SetSignaturePIN(String)
Provide the Signature-PIN for accessing the digital signature key.
Declaration
public void SetSignaturePIN(string sPIN)
Parameters
Type |
Name |
Description |
System.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.
|
Explicit Interface Implementations
IEbicsSecurityOperations.Decrypt(EbicsSecurityCode, Byte[])
Declaration
byte[] IEbicsSecurityOperations.Decrypt(EbicsSecurityCode nCode, byte[] vbCrypt)
Parameters
Returns
Type |
Description |
System.Byte[] |
|
IEbicsSecurityOperations.GetPubKey(EbicsSecurityCode)
Declaration
EbicsPubKeyInfo IEbicsSecurityOperations.GetPubKey(EbicsSecurityCode nCode)
Parameters
Returns
IEbicsSecurityOperations.SignHash(EbicsSecurityCode, Byte[])
Declaration
byte[] IEbicsSecurityOperations.SignHash(EbicsSecurityCode nCode, byte[] vbHash)
Parameters
Returns
Type |
Description |
System.Byte[] |
|
Implements