For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Krystian_Baniak's avatar
Krystian_Baniak
Icon for Altocumulus rankAltocumulus
Jun 12, 2014

ASN1::encode proper syntax fro a format string

What is the correct usage example for creating BER encoded payloads using the ASN1 module's encode function?

 

I try to create ldapSearch message with:

 

set data [ASN1::encode BER "titaeeiibtaataa" 0x30 141 0x63 "ou=Policies,o=network,dc=exios,dc=com" 2 3 1000 0 0 0xa3 "uniqueMember" "uid=26003502407487" 0x30 "businessCategory" "objectClass"]

 

But the output data is malformed as if the formatstring was not understood properly.

 

Did anyone have any progress with using encode function for ASN1?

 

No RepliesBe the first to reply