Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

OpenSSL uses DER but I need BER format: does OpenSSL support BER?

BER DER format OpenSSL support uses
0
Posted

OpenSSL uses DER but I need BER format: does OpenSSL support BER?

0

The short answer is yes, because DER is a special case of BER and OpenSSL ASN1 decoders can process BER. The longer answer is that ASN1 structures can be encoded in a number of different ways. One set of ways is the Basic Encoding Rules (BER) with various permissible encodings. A restriction of BER is the Distinguished Encoding Rules (DER): these uniquely specify how a given structure is encoded. Therefore, because DER is a special case of BER, DER is an acceptable encoding for BER.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.