get_identity_length_required


unsigned get_identity_length_required(byte Subauthorities)

This function obtains the length required to store a security identity with a specified number of subauthorities.

Parameters

byte Subauthorities

The number of subauthorities for the security identity.

Return

unsigned

The length (in bytes) of a security identity with the given number of subauthorities.