# Functions
NewFilterApduArDo creates an ApduArDo struct containing an APDU filter for a given header and mask This ApduArDo contains a specific APDU access rule based on one or more APDU filter(SCP): APDU filter: 8-byte APDU filter consists of: 4-byte APDU filter header (defines the header of allowed APDUs, i.e.
NewGenericApduArDo creates an ApduArDo from a given byte.
ParseAidRefDo parses BER-TLV encoded AID-REF-DO and returns an AidRefDo.
ParseAllRefArDo parses BER-TLV encoded ALL-REF-AR-DO and returns a slice of RefArDo.
ParseApduArDo parses BER-TLV encoded APDU-AR-DO and returns an ApduArDo.
ParseARAMConfigDo parses BER-TLV encoded ARAM-CONFIG-DO and returns an AramConfigDo.
ParseArDo parses BER-TLV encoded AR-DO and returns an ArDo.
ParseDeviceAppIDRefDO parses BER-TLV encoded DeviceAppID-REF-DO and returns DeviceAppIDRefDo.
ParseDeviceInterfaceVersionDo parses BER-TLV encoded Device-Interface-Version-DO and returns an DeviceInterfaceVersionDo.
ParseNfcArDo parses BER-TLV encoded bytes and returns an NfcArDo.
ParseRefArDo parses BER-TLV encoded REF-AR-DO and returns RefArDo.
ParseRefDo parses BER-TLV encoded REF-DO and returns RefDo.
# Variables
AramAid is the AID of the Access Rule Application Master instance.
AramElfAid is the AID of the Executable Load File of Access Rule Application Master.
AramEmAid is the AID of the Executable Module of Access Rule Application Master.
Pkcs15Aid is the AID of the PKCS#15 file structure or application.
# Structs
AidRefDo is an AID-REF-DO which is used for storing and retrieving the corresponding access rules for an SE application (which is identified by its AID) to and from the ARA Two different reference data objects exist and one of these can be chosen and applied for a GET DATA and STORE DATA command If the AidRefDo shall be interpreted as implicitly selected application, the value of AID is set to nil and ImplicitlySelectedApplication to true.
AramConfigDo is a ARAM-Config-DO.
ArDo is an AR-DO and contains one or two access rules of type APDU or NFC.
DeviceAppIDRefDo is a DeviceAppID-REF-DO which identifies the specific device application that an access rule applies to It contains one of following values: • Hash of the certificate of the Application Provider: Used in most cases when the application is running in the REE.
DeviceConfigDo is a Device-Config-DO.
RefArDo is a REF-AR-DO and contains an ArDo and the corresponding RefDo.
RefDo is a REF-DO which contains a pair of an AID-REF-DO and a DeviceAppId-REF-DO.
# Type aliases
ApduArDo is an APDU-AR-DO and defines an access rule for APDU access.
DeviceInterfaceVersionDo is a Device-Interface-Version-DO.
NfcArDo is a NFC-AR-DO which defines an access rule for generating NFC events for a specific device application.