Class EbicsSecurityMediumVoid
Security medium implementation that stores the private keys in the EbicsContact.
public class EbicsSecurityMediumVoid : IEbicsSecurityMedium, IEbicsSecurityMediumPrivKeys
- Inheritance
-
EbicsSecurityMediumVoid
- Implements
- Inherited Members
Constructors
EbicsSecurityMediumVoid(EbicsContact)
public EbicsSecurityMediumVoid(EbicsContact aContact)
Parameters
aContact
EbicsContactThe EbicsContact that will be used to store the private keys.
Properties
CanChangePIN
Indicates whether the password can be changed.
public bool CanChangePIN { get; }
Property Value
- bool
Changing the password is supported by this implementation and therefor this property is always
true
.
LastError
public EbicsSecurityMediumErrorCode LastError { get; }
Property Value
SecurityMedium
Always is "0000".
public string SecurityMedium { get; }
Property Value
SecurityMediumID
public string SecurityMediumID { get; }
Property Value
SecurityMediumType
public EbicsSecurityMediumType SecurityMediumType { get; }
Property Value
State
public EbicsSecurityMediumState State { get; }
Property Value
SupportedSecurityCodes
Provides the set of EBICS security operations that are supported by this security media implementation.
public EbicsSecurityCode SupportedSecurityCodes { get; }
Property Value
Remarks
The EbicsSecurityMediumVoid implementation always supports all security operations defined by the EbicsSecurityCode enumeration. However, only those security operations are possible, where there are actually private keys available in the selected contact.
Methods
Authenticate(string)
public bool Authenticate(string sPassword)
Parameters
sPassword
string
Returns
ChangePIN(string, string)
Change the password.
public bool ChangePIN(string sOldPassword, string sNewPassword)
Parameters
Returns
Exceptions
- ArgumentNullException
The parameter sOldPassword or sNewPassword was
null
.- InvalidOperationException
This security medium instance is not in the Selected state.
Create(string, string)
public bool Create(string sSecurityMediaID, string sPassword)
Parameters
Returns
GetPasswordInfo()
public EbicsPasswordInfo GetPasswordInfo()
Returns
GetSecurityOperations(EbicsContact)
public IEbicsSecurityOperations GetSecurityOperations(EbicsContact aContact)
Parameters
aContact
EbicsContact
Returns
Release()
public void Release()
Select(string)
public bool Select(string sSecurityMediaID)
Parameters
sSecurityMediaID
string