Extensions.Flash.GetSecurityMethod

From emotive
Revision as of 07:34, 16 February 2016 by Hb (talk | contribs) (→‎Classification)
Jump to navigation Jump to search

Classification

Name GetSecurityMethod
Short Description Return the security method information of a block or a session
Class Term
Extension OTX Flash extension
Group Security related terms
Exceptions OutOfBoundsException
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm = Flash.GetSecurityMethod(FlashSessionTerm, IntegerTerm);

Description

The GetSecurityMethod term is the security method information of a block or a session.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
String The security method information of a block or a session.

Properties

Name Data Type Class Default Cardinality Description
FlashSession FlashSession Term - [1] This element represents the FlashSession in which the block containing the segment resides.
Block Integer Term - [0..1] This element represents the number of the block whose signature shall be returned.
Security Integer Term - [1] This element defines the number of the security on which the term execution is based.

OTL Examples

DiagCom.ComChannel ComChannel1;
List<String> List1;
Flash.FlashSession FlashSession1;
Integer Integer1;
String String1;

ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER);
FlashSession1 = Flash.GetFlashSession(List1[0]);
String1 = Flash.GetSecurityMethod(FlashSession1, 0, 0);

See also

GetSignature
GetValidity
GetChecksum