Class FinSecurityProfile
Very simple helper class that holds the security procedure code and version which
together make up the security profile.
Inheritance
System.Object
FinSecurityProfile
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinSecurityProfile
Constructors
FinSecurityProfile(String, Int32)
Declaration
public FinSecurityProfile(string sSecurityProcCode, int nSecurityProcVersion)
Parameters
Type |
Name |
Description |
System.String |
sSecurityProcCode |
|
System.Int32 |
nSecurityProcVersion |
|
Exceptions
Type |
Condition |
System.ArgumentNullException |
The parameter sSecurityProcCode was null .
|
System.ArgumentException |
The length of the sSecurityProcCode string was not 3.
|
System.ArgumentOutOfRangeException |
The nSecurityProcVersion was negative or greater than 999.
|
Properties
CipherAlgorithm
The cipher algorithm to be used for encryption/decryption with this security
profile.
Declaration
public FinCipher CipherAlgorithm { get; }
Property Value
CipherOperationMode
The operation mode that shall be used for encrypt/decrypt operations using this
security profile.
Declaration
public FinOperationMode CipherOperationMode { get; }
Property Value
DigitalSignatureHashAlgorithm
The hash algorithm to be used for digital signature hashes (i.e. for signatures
with the key "D") with this security profile.
Declaration
public FinHash DigitalSignatureHashAlgorithm { get; }
Property Value
DigitalSignatureOperationMode
The operation mode that shall be used for digitial signature operations (i.e.
signatures with the key "D") using this security profile.
Declaration
public FinOperationMode DigitalSignatureOperationMode { get; }
Property Value
FingerprintHashAlgorithm
The default algorithm to be used for computing the fingerprint value of a
public key.
Declaration
public FinHash FingerprintHashAlgorithm { get; }
Property Value
IsRSA
Is true for RDH and RAH and maybe future RSA based profiles with a similar profile
version structure.
Declaration
public bool IsRSA { get; }
Property Value
Type |
Description |
System.Boolean |
|
MaxKeyLength
The maximum RSA key length in bytes.
Declaration
public int MaxKeyLength { get; }
Property Value
Type |
Description |
System.Int32 |
|
MinKeyLength
The minimum RSA key length in bytes.
Declaration
public int MinKeyLength { get; }
Property Value
Type |
Description |
System.Int32 |
|
SecurityProcCode
Declaration
public string SecurityProcCode { get; }
Property Value
Type |
Description |
System.String |
|
SecurityProcVersion
Declaration
public int SecurityProcVersion { get; }
Property Value
Type |
Description |
System.Int32 |
|
SignatureHashAlgorithm
The hash algorithm to be used for authentication hashes (i.e. for signatures with
the key "S") with this security profile.
Declaration
public FinHash SignatureHashAlgorithm { get; }
Property Value
SignatureOperationMode
The operation mode that shall be used for authentication operations (i.e.
signatures with the key "S") using this security profile.
Declaration
public FinOperationMode SignatureOperationMode { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object aObject)
Parameters
Type |
Name |
Description |
System.Object |
aObject |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()