Discuss this help topic in SecureBlackbox Forum

FormatAttributeValue

Declared in     See also     


Filter: C#/Java  VB.NET  Pascal  C++  


Use this function to format the attribute value accordingly to your attribute specification. It is obligatory to use this function when setting attribute value in order to create a valid ASN.1 structure

Declaration

[C#/Java]
    static byte[] FormatAttributeValue(int TagID, byte[] Value);

[VB.NET]
    Public Shared Function FormatAttributeValue(ByVal TagID As Integer, ByVal Value As Byte()) As Byte()

[Pascal]
    function FormatAttributeValue( TagID : integer; Value : ByteArray) : ByteArray;

[C++]
    void FormatAttributeValue(int32_t TagID, const std::vector<uint8_t> & Value, std::vector<uint8_t> & OutResult);

Parameters

  • TagID - ASN.1 tag identifier.
  • Value - attribute value.

Description

Declared in

.NET:
  • Namespace: SBASN1Tree.Unit
  • Assembly: SecureBlackbox
VCL:
  • Unit: SBASN1Tree
Java:
  • Package: SecureBlackbox.Base.jar
C++:
  • sbasn1tree.h

See also:     UnformatAttributeValue    

Discuss this help topic in SecureBlackbox Forum