From 11b918c6fbc6a812669ad8e63891eff1599898f1 Mon Sep 17 00:00:00 2001 From: roman_harazha Date: Wed, 21 Feb 2024 15:58:21 +0200 Subject: [PATCH] change encapsulated content structure --- resources/encapsulated_content.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/resources/encapsulated_content.go b/resources/encapsulated_content.go index bf13ab3..f374512 100644 --- a/resources/encapsulated_content.go +++ b/resources/encapsulated_content.go @@ -4,11 +4,8 @@ import "encoding/asn1" type EncapsulatedData struct { Version int - PrivateKeyAlgorithm struct { - Algorithm asn1.ObjectIdentifier - Parameters asn1.RawValue - } - PrivateKey struct { + PrivateKeyAlgorithm asn1.RawValue + PrivateKey struct { El1 struct { Integer int OctetStr asn1.RawValue