Class EbicsSecurityMediumVoid
Security medium implementation that stores the private keys in the
EbicsContact.
Inheritance
System.Object
EbicsSecurityMediumVoid
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Subsembly.EBICS.Core.dll
Syntax
public class EbicsSecurityMediumVoid : IEbicsSecurityMedium, IEbicsSecurityMediumPrivKeys
Constructors
Declaration
public EbicsSecurityMediumVoid(EbicsContact aContact)
Parameters
Type |
Name |
Description |
EbicsContact |
aContact |
The EbicsContact that will be used to store the private keys.
|
Properties
CanChangePIN
Indicates whether the password can be changed.
Declaration
public bool CanChangePIN { get; }
Property Value
Type |
Description |
System.Boolean |
Changing the password is supported by this implementation and therefor this
property is always true .
|
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
Provides the set of EBICS security operations that are supported by this security
media implementation.
Declaration
public EbicsSecurityCode SupportedSecurityCodes { get; }
Property Value
Methods
Authenticate(String)
Declaration
public bool Authenticate(string sPassword)
Parameters
Type |
Name |
Description |
System.String |
sPassword |
|
Returns
Type |
Description |
System.Boolean |
|
ChangePIN(String, String)
Declaration
public bool ChangePIN(string sOldPassword, string sNewPassword)
Parameters
Type |
Name |
Description |
System.String |
sOldPassword |
|
System.String |
sNewPassword |
|
Returns
Type |
Description |
System.Boolean |
|
Exceptions
Type |
Condition |
System.ArgumentNullException |
The parameter sOldPassword or sNewPassword was null .
|
System.InvalidOperationException |
This security medium instance is not in the Selected state.
|
Create(String, String)
Declaration
public bool Create(string sSecurityMediaID, string sPassword)
Parameters
Type |
Name |
Description |
System.String |
sSecurityMediaID |
|
System.String |
sPassword |
|
Returns
Type |
Description |
System.Boolean |
|
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 |
|
Explicit Interface Implementations
Declaration
void IEbicsSecurityMediumPrivKeys.DeletePrivKey(EbicsContact aContact, EbicsSecurityCode nCode)
Parameters
Declaration
EbicsPrivKey IEbicsSecurityMediumPrivKeys.GetPrivKey(EbicsContact aContact, EbicsSecurityCode nCode)
Parameters
Returns
Declaration
void IEbicsSecurityMediumPrivKeys.StorePrivKey(EbicsContact aContact, EbicsPrivKey aPrivKey)
Parameters
Implements