Construct a CCM.
Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public static DOFSecurityMode create( DOFCipherAlgorithm algorithm, DOFCipherStrength strength, int macSize, bool isEncrypt )
Parameters
- algorithm
- Type: org.opendof.core.oal.securityDOFCipherAlgorithm
The security cipher algorithm. Must not be null. - strength
- Type: org.opendof.core.oal.securityDOFCipherStrength
The strength of the encryption to use. - macSize
- Type: SystemInt32
The security CLASS_MAC size. Must be one of the MACSIZE_ constants. - isEncrypt
- Type: SystemBoolean
Whether or not encryption should be used.
Return Value
Type: DOFSecurityModeThe new security mode.
Remarks
See Also