Skip to main content
Open topic with navigation CAPL Functions » Security » X509AlgIdentifier_SetOid

X509AlgIdentifier_SetOid

Valid for: CANoe DE • CANoe4SW DE

Method Syntax

dword X509AlgIdentifier_SetOid(qword objectHandle, qword newValue)

Description

Setter function for the Object Id (OID) field of the Algorithm Identifier handle. Can also be used to remove the field by calling the function with value 0 (NULL).

Parameters

  • objectHandle: (in) Handle with type ‘X509AlgIdentifier’. The function will be called in context of this handle.

Return Values

  • 1: NoError: Operation was completed successfully
  • -2: Nullpointer: Error, the return value of the function was “NULL”. The value is not available and the output buffer is unchanged.
  • -3: BufferTooSmall: Error, the output buffer is too small. No value has been written.
  • -4: InvalidHandle: Error, the provided objectHandle is invalid or not suitable for this function.
  • -5: InvalidArgument: Error, one or more arguments are invalid for this function.
  • -6: InvalidArgumentHandle: Error, one or more argument handles are invalid not suitable for this function.

Example