go-ipfix icon indicating copy to clipboard operation
go-ipfix copied to clipboard

octetArray parsing in EncodeToIEDataType()

Open sharmarohit0013 opened this issue 4 years ago • 3 comments

Hi am trying to create an enterprise field with datatype as octetArray, not sure how to do it can you help me to identify the same

sharmarohit0013 avatar Oct 26 '21 10:10 sharmarohit0013

We do not support that kind of field yet. Could you tell what field that you are looking at? Is it part of IANA registry or part of a different registry?

srikartati avatar Oct 26 '21 13:10 srikartati

Hi, it is part of a vendor-specific field where they have an octet array which I need to send over the network, I will be sending JSON in this octetArray, you can check "collectorCertificate" in IANA for your reference where you can send the certificate

sharmarohit0013 avatar Oct 26 '21 18:10 sharmarohit0013

Thanks for the info. It needs to be added in encode and decode functions. Would you be interested in taking a stab at it?

srikartati avatar Oct 26 '21 18:10 srikartati