Add a block cipher factory to the library.
Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public static void addFactory( DOFCipherAlgorithm algorithm, DOFCipherStrength strength, DOFCipherFactory factory )
Parameters
- algorithm
- Type: org.opendof.core.oal.securityDOFCipherAlgorithm
The recognized algorithm to be registered; refer to Algorithm . - strength
- Type: org.opendof.core.oal.securityDOFCipherStrength
The strength of the encryption. - factory
- Type: org.opendof.core.oal.securityDOFCipherFactory
The block cipher factory implementation; refer to Factory .
Exceptions
Exception | Condition |
---|---|
DOFSecurityException |
if the cipher could not be added. This may occur for a number of reasons, including:
|
DOFSecurityException |
Remarks
See Also