Re: [Anima-bootstrap] [Anima] Voucher signing method

"Max Pritikin (pritikin)" <pritikin@cisco.com> Fri, 21 April 2017 17:54 UTC

Return-Path: <pritikin@cisco.com>
X-Original-To: anima-bootstrap@ietfa.amsl.com
Delivered-To: anima-bootstrap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FCC91294AC; Fri, 21 Apr 2017 10:54:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yAAmaY4lCKgo; Fri, 21 Apr 2017 10:54:39 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58409128854; Fri, 21 Apr 2017 10:54:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=33086; q=dns/txt; s=iport; t=1492797279; x=1494006879; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=amxN2o/I9BguTiBgRJSmVCZgH8zbkU+d9iDmp5wXp4M=; b=AG1+EUQ+rt0VfZW4uKV7X4NpRyE49BPiLBIX3w31Pukc7DpYXIX+hguU 2j+cDxrefVDdcIx5E9a55CVg9hIWUt3BxTnl58AUVBCBgu2sHj0cG9or5 u2EIU/Sox15Y5kiTHwyFaRwLwwE/lL1YdaZbatfNL8ykvRnvMBK60QmsN Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0D3AQDCRvpY/5xdJa1cGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBg1RhgQwHg2CKFZEPOCGVZIIMAyENhSxKAhqDcT8YAQIBAQEBAQE?= =?us-ascii?q?BayiFFQEBAQECAQEBGAkROgsFCwIBBgIOCgICJgICAiULFRACBA4FiBoDgXcID?= =?us-ascii?q?owGnV6CJosiAQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWBC4ckASsLgmOEVxeCby6?= =?us-ascii?q?CMQWdQQGHFotvggCFM4okiG+LKQEfOIEGYxVEEQGEVxyBY3UBBIgkgQ0BAQE?=
X-IronPort-AV: E=Sophos;i="5.37,230,1488844800"; d="scan'208";a="413940901"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Apr 2017 17:54:38 +0000
Received: from xch-rcd-011.cisco.com (xch-rcd-011.cisco.com [173.37.102.21]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id v3LHsbCk010692 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 21 Apr 2017 17:54:38 GMT
Received: from xch-aln-013.cisco.com (173.36.7.23) by XCH-RCD-011.cisco.com (173.37.102.21) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 21 Apr 2017 12:54:36 -0500
Received: from xch-aln-013.cisco.com ([173.36.7.23]) by XCH-ALN-013.cisco.com ([173.36.7.23]) with mapi id 15.00.1210.000; Fri, 21 Apr 2017 12:54:36 -0500
From: "Max Pritikin (pritikin)" <pritikin@cisco.com>
To: Kent Watsen <kwatsen@juniper.net>
CC: "anima-bootstrap@ietf.org" <anima-bootstrap@ietf.org>, "anima@ietf.org" <anima@ietf.org>
Thread-Topic: [Anima-bootstrap] [Anima] Voucher signing method
Thread-Index: AQHSushWNHriPhCLLEuKBIJ5nq8wVw==
Date: Fri, 21 Apr 2017 17:54:36 +0000
Message-ID: <882BF9A1-8827-4E88-AAE0-EE14EAE5EDDC@cisco.com>
References: <4F1BE153-1A2E-4DC2-9E51-520A8538B84E@juniper.net> <2BCEB682-357B-43E5-9794-3B84F69E3C71@cisco.com>
In-Reply-To: <2BCEB682-357B-43E5-9794-3B84F69E3C71@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.99.106.4]
Content-Type: text/plain; charset="utf-8"
Content-ID: <DF11F2E98810154EA6376C5D677B57E9@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-bootstrap/zXDGn-kex9BKM8xMOmsbGxKseS8>
Subject: Re: [Anima-bootstrap] [Anima] Voucher signing method
X-BeenThere: anima-bootstrap@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Mailing list for the bootstrap design team of the ANIMA WG <anima-bootstrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-bootstrap>, <mailto:anima-bootstrap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-bootstrap/>
List-Post: <mailto:anima-bootstrap@ietf.org>
List-Help: <mailto:anima-bootstrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-bootstrap>, <mailto:anima-bootstrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Apr 2017 17:54:43 -0000

Kent, 

> On Apr 20, 2017, at 6:55 PM, Max Pritikin (pritikin) <pritikin@cisco.com>; wrote:
> 
>> 
>> On Apr 20, 2017, at 6:51 PM, Kent Watsen <kwatsen@juniper.net>; wrote:
>> 
>> 
>> Hi Max,
>> 
>> I'd like to reproduce your experiment, but I can't find a library
>> that supports the 'x5c' header.  What do you mean that you added
>> it (the x5c header) to the JWS?
> 
> 
> The x5c header is defined in JWT but the library I used off github (libjwt) didn’t support it. After looking at the code more closely I’m not sure a jwt abstraction layer is really even needed; JWS is pretty simple to use directly. I’ve forked libjwt and will upload my diff to github tomorrow so you can see what i mean.

Here is a diff that shows what I mean:
	https://github.com/pritikin/libjwt/commit/da7b8b9b59c26f4af6edefaeafb34ffc1f207cca

In summary: JWS defines a {header}.{payload}.signature method. You don’t really need a JWT library to do that. I was new to the space and wanted a quick ramp up so I used the libjwt library to experiment and found that it hardcoded the {header} information and thus couldn’t support the x5c header we were discussing. With normal, simple, JWS via a JSON library, you’d just add this element like any other normal JSON but because I was using a jwt abstraction I had to update the library’s abstraction layer to support arbitrary JSON additions to the header. 

- max

> 
>> 
>> Separately, I don't think "-----BEGIN CERTIFICATE-----" is valid
>> for the 'domain-cert-trusted-ca' field, for which the YANG in 
>> the voucher-02 draft says is a "binary" type field called 
>> 'trusted-ca-certificate'.  If it's type binary, then it's 
>> encoded as just the base64 of the DER, with no PEM header/footer
>> ceremony. See here:
>> 
>> https://tools.ietf.org/html/draft-ietf-netmod-yang-json-10#section-6.6.
> 
> Totally true. This was discovered at the hackathon too … I just didn’t fix it before looking at the JWT stuff.
> 
> - max
> 
> 
>> 
>> Kent
>> 
>> 
>> -----ORIGINAL MESSAGE-----
>> 
>> Folks, in Chicago we discussed the signing method for vouchers. 
>> 
>> Because the voucher is JSON, and there is expectation of a CBOR encoding for future work, there is an open discussion point about using the JWS/COSE signing methods; if not JWT/CWT. There was brief discussion of this at IETF98 and one person indicated they liked PKCS7, others indicates JWT and others did not speak up. Fully meeting minutes might provide more information but my recollection was that we’d move the discussion to the list. This thread is for that discussion. 
>> 
>> The current text of draft-ietf-anima-voucher-02 is:
>> 
>>> The voucher is signed a PKCS#7 SignedData structure, as specified by Section 9.1
>>> of [RFC2315], encoded using ASN.1 distinguished encoding rules (DER), as specified in ITU-T X.690.
>> 
>> 
>> For concrete discussion, the proposed change is:
>> 
>>> The voucher is a JWT [RFC7519] signed token.
>> 
>> 
>> I’ve updated my tooling that was used during the IETF98 hackathon to support a JWT token format; I did this as homework to be informed for the discussion. 
>> 
>> MY POSITION: is that I appreciate the simplicity of the JWS signing and feel it is a good match for us. It was easy enough to implement, was a refreshing change from the ASN1 complexity of PKCS7, and seems to provide a good path toward CBOR/COSE in a future document without maintaining PKCS7/CMS technical debt or revisiting/rewriting too much. 
>> 
>> QUESTION FOR THE WORKING GROUP: What is your position? Why? 
>> 
>> What follows is a dump of the raw JWS before signing (the equivalent PKCS7/CMS structure would be the SignedData asn1 structures which is hard to capture). After that is an encoded and signed voucher. Further below is an example of a PKCS7 signed voucher. 
>> 
>> Please note these characteristics:
>> 
>> a) From JWT RFC7519 "JWTs are always represented using the JWS Compact Serialization”. There are some JWT headers that overlap with voucher fields. I’m using JWT here; but the distinction between JWS/JWT is not fundamental to our discussion. The important point is JWS vs PKCS7. 
>> 
>> b) I’ve added the x5c header to the JWS. This is used to carry the certificate chain of the signer. Our current voucher format indicates PKCS7 which supports an equivalent field called “CertificateSet structure”. Its in the BRSKI document that we specify "The entire certificate chain, up to and including the Domain CA, MUST be included in the CertificateSet structure”. With the transition to JWT we’d be specifying that the x5c header be fully populated up to an including the Domain CA etc. 
>> 
>> c) From these examples we can’t directly compare size encodings. I don’t think this is a significant aspect of the conversation but can create comparable examples if folks feel that is necessary. 
>> 
>> The dumps:
>> 
>> A debug dump of the JWT form before encoding:
>> {
>>  "typ": "JWT",
>>  "alg": "ES256",
>>  "x5c": ["MIIBdjCCAR2gAwIBAgIBATAKBggqhkjOPQQDAjArMRYwFA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ain-cert-trusted-ca": "-----BEGIN CERTIFICATE-----\nMIIBUjCB+qADAgECAgkAwP4qKsGyQlYwCgYIKoZIzj0EAwIwFzEVMBMGA1UEAwwM\nZXN0RXhhbXBsZUNBMB4XDTE3MDMyNTIyMTc1MFoXDTE4MDMyNTIyMTc1MFowFzEV\nMBMGA1UEAwwMZXN0RXhhbXBsZUNBMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE\nRVrNlEN2ocYscAILBU7NggABo0JgA1rEGdYdCQj1nHKL6xKONJIUfBibe6iMVYd3\nRUmPwaPiHNZJ98kRwHIwnKMvMC0wDAYDVR0TBAUwAwEB/zAdBgNVHQ4EFgQU+dVX\naXoucU1godNF0bycS1U5W54wCgYIKoZIzj0EAwIDRwAwRAIgNsCGjpEjuvz6OKJ/\n3rOvMc2ZfDhD02K+0PCVFJGCQGwCIAzf3BS6x9kKSROJJvxDSpg0QK9+b9LSFkbZ\nM1PW98AN\n-----END CERTIFICATE-----\n",
>>      "nonce": "ea7102e8e88f119e",
>>      "serial-number": "PID:1 SN:widget1",
>>      "serial-number-issuer": "36097E3DEA39316EA4CE5C695BE905E78AF2FB5A",
>>      "version": "1"
>>  }
>> }
>> .
>> [signature goes here]
>> 
>> As per JWT RFC7519 this is what it looks like after URL-safe encoding. You can see that now the signature is included  (look to the second to last line to see the second “.” followed by a valid signature): 
>> 
>> eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsICAgICJ4NWMiOlsiTUlJQmRqQ0NBUjJnQXdJQkFnSUJBVEFLQmdncWhrak9QUVFEQWpBck1SWXdGQVlEVlFRS0RBMURhWE5qYnlCVGVYTjBaVzF6TVJFd0R3WURWUVFEREFoV1pXNWtiM0pEUVRBZUZ3MHhOekEwTURNeE5URTFORFZhRncweE9EQTBNRE14TlRFMU5EVmFNQzB4RmpBVUJnTlZCQW9NRFVOcGMyTnZJRk41YzNSbGJYTXhFekFSQmdOVkJBTU1DbFpsYm1SdmNrMUJVMEV3V1RBVEJ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DNjk1QkU5MDVFNzhBRjJGQjVBIiwidmVyc2lvbiI6IjEifX0.QkTUpcxv6Ng6ylyWYnlqun-5SFhD1XwLIW1kD7Y9dNwioheNMcVnowkELl_EMClyOWuLvvWuoCHAcWz_UA0IGw
>> 
>> 
>> Here is an equivalent PKCS7 voucher via asn1 dump. You’d have to look at the binary if you really want to decode it. This voucher was generated by MCR during the hackathon: 
>> 
>> pritikin@ubuntu:~/src/brski-project/brski_msgs$ openssl asn1parse -in mcr.voucher.txt.pkcs7
>>   0:d=0  hl=4 l=2706 cons: SEQUENCE          
>>   4:d=1  hl=2 l=   9 prim: OBJECT            :pkcs7-signedData
>>  15:d=1  hl=4 l=2691 cons: cont [ 0 ]        
>>  19:d=2  hl=4 l=2687 cons: SEQUENCE          
>>  23:d=3  hl=2 l=   1 prim: INTEGER           :01
>>  26:d=3  hl=2 l=  15 cons: SET               
>>  28:d=4  hl=2 l=  13 cons: SEQUENCE          
>>  30:d=5  hl=2 l=   9 prim: OBJECT            :sha256
>>  41:d=5  hl=2 l=   0 prim: NULL              
>>  43:d=3  hl=4 l=1644 cons: SEQUENCE          
>>  47:d=4  hl=2 l=   9 prim: OBJECT            :pkcs7-data
>>  58:d=4  hl=4 l=1629 cons: cont [ 0 ]        
>>  62:d=5  hl=4 l=1625 prim: OCTET STRING      :{"ietf-voucher:voucher":{"nonce":"62a2e7693d82fcda2624de58fb6722e5","created-on":"2017-01-01T00:00:00.000Z","device-identifier":"00-d0-e5-f2-00-01","assertion":"logged","owner":"MIIEEzCCAvugAwIBAgIJAK6rFouvk+7YMA0GCSqGSIb3DQEBCwUAMIGfMQsw\nCQYDVQQGEwJDQTEQMA4GA1UECAwHT250YXJpbzEPMA0GA1UEBwwGT3R0YXdh\nMRowGAYDVQQKDBFPd25lciBFeGFtcGxlIE9uZTERMA8GA1UECwwITm90IFZl\ncnkxGzAZBgNVBAMMEm93bmVyMS5leGFtcGxlLmNvbTEhMB8GCSqGSIb3DQEJ\nARYSb3duZXIxQ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8U6oB7FbxtFyqQP1YoZGia9MkPKnK+yg5o/0\ncZ57hgk4mQmM1i82RrUZQVoBP3CD5LdBJZfJoXstRlXe6dX7+TisdSAspp5e\nhNm0BcqdLK+z8ntt\n"}}
>> 1691:d=3  hl=4 l= 557 cons: cont [ 0 ]        
>> 1695:d=4  hl=4 l= 553 cons: SEQUENCE          
>> 1699:d=5  hl=4 l= 431 cons: SEQUENCE          
>> 1703:d=6  hl=2 l=   3 cons: cont [ 0 ]        
>> 1705:d=7  hl=2 l=   1 prim: INTEGER           :02
>> 1708:d=6  hl=2 l=   1 prim: INTEGER           :01
>> 1711:d=6  hl=2 l=  10 cons: SEQUENCE          
>> 1713:d=7  hl=2 l=   8 prim: OBJECT            :ecdsa-with-SHA256
>> 1723:d=6  hl=2 l=  77 cons: SEQUENCE          
>> 1725:d=7  hl=2 l=  18 cons: SET               
>> 1727:d=8  hl=2 l=  16 cons: SEQUENCE          
>> 1729:d=9  hl=2 l=  10 prim: OBJECT            :domainComponent
>> 1741:d=9  hl=2 l=   2 prim: IA5STRING         :ca
>> 1745:d=7  hl=2 l=  25 cons: SET               
>> 1747:d=8  hl=2 l=  23 cons: SEQUENCE          
>> 1749:d=9  hl=2 l=  10 prim: OBJECT            :domainComponent
>> 1761:d=9  hl=2 l=   9 prim: IA5STRING         :sandelman
>> 1772:d=7  hl=2 l=  28 cons: SET               
>> 1774:d=8  hl=2 l=  26 cons: SEQUENCE          
>> 1776:d=9  hl=2 l=   3 prim: OBJECT            :commonName
>> 1781:d=9  hl=2 l=  19 prim: UTF8STRING        :Unstrung Highway CA
>> 1802:d=6  hl=2 l=  30 cons: SEQUENCE          
>> 1804:d=7  hl=2 l=  13 prim: UTCTIME           :160507023655Z
>> 1819:d=7  hl=2 l=  13 prim: UTCTIME           :180507023655Z
>> 1834:d=6  hl=2 l=  77 cons: SEQUENCE          
>> 1836:d=7  hl=2 l=  18 cons: SET               
>> 1838:d=8  hl=2 l=  16 cons: SEQUENCE          
>> 1840:d=9  hl=2 l=  10 prim: OBJECT            :domainComponent
>> 1852:d=9  hl=2 l=   2 prim: IA5STRING         :ca
>> 1856:d=7  hl=2 l=  25 cons: SET               
>> 1858:d=8  hl=2 l=  23 cons: SEQUENCE          
>> 1860:d=9  hl=2 l=  10 prim: OBJECT            :domainComponent
>> 1872:d=9  hl=2 l=   9 prim: IA5STRING         :sandelman
>> 1883:d=7  hl=2 l=  28 cons: SET               
>> 1885:d=8  hl=2 l=  26 cons: SEQUENCE          
>> 1887:d=9  hl=2 l=   3 prim: OBJECT            :commonName
>> 1892:d=9  hl=2 l=  19 prim: UTF8STRING        :Unstrung Highway CA
>> 1913:d=6  hl=2 l= 118 cons: SEQUENCE          
>> 1915:d=7  hl=2 l=  16 cons: SEQUENCE          
>> 1917:d=8  hl=2 l=   7 prim: OBJECT            :id-ecPublicKey
>> 1926:d=8  hl=2 l=   5 prim: OBJECT            :secp384r1
>> 1933:d=7  hl=2 l=  98 prim: BIT STRING        
>> 2033:d=6  hl=2 l=  99 cons: cont [ 3 ]        
>> 2035:d=7  hl=2 l=  97 cons: SEQUENCE          
>> 2037:d=8  hl=2 l=  15 cons: SEQUENCE          
>> 2039:d=9  hl=2 l=   3 prim: OBJECT            :X509v3 Basic Constraints
>> 2044:d=9  hl=2 l=   1 prim: BOOLEAN           :255
>> 2047:d=9  hl=2 l=   5 prim: OCTET STRING      [HEX DUMP]:30030101FF
>> 2054:d=8  hl=2 l=  14 cons: SEQUENCE          
>> 2056:d=9  hl=2 l=   3 prim: OBJECT            :X509v3 Key Usage
>> 2061:d=9  hl=2 l=   1 prim: BOOLEAN           :255
>> 2064:d=9  hl=2 l=   4 prim: OCTET STRING      [HEX DUMP]:03020106
>> 2070:d=8  hl=2 l=  29 cons: SEQUENCE          
>> 2072:d=9  hl=2 l=   3 prim: OBJECT            :X509v3 Subject Key Identifier
>> 2077:d=9  hl=2 l=  22 prim: OCTET STRING      [HEX DUMP]:0414258EDF2D51788F0CEC872A22FBD4FEBE0676EB07
>> 2101:d=8  hl=2 l=  31 cons: SEQUENCE          
>> 2103:d=9  hl=2 l=   3 prim: OBJECT            :X509v3 Authority Key Identifier
>> 2108:d=9  hl=2 l=  24 prim: OCTET STRING      [HEX DUMP]:30168014258EDF2D51788F0CEC872A22FBD4FEBE0676EB07
>> 2134:d=5  hl=2 l=  10 cons: SEQUENCE          
>> 2136:d=6  hl=2 l=   8 prim: OBJECT            :ecdsa-with-SHA256
>> 2146:d=5  hl=2 l= 104 prim: BIT STRING        
>> 2252:d=3  hl=4 l= 454 cons: SET               
>> 2256:d=4  hl=4 l= 450 cons: SEQUENCE          
>> 2260:d=5  hl=2 l=   1 prim: INTEGER           :01
>> 2263:d=5  hl=2 l=  82 cons: SEQUENCE          
>> 2265:d=6  hl=2 l=  77 cons: SEQUENCE          
>> 2267:d=7  hl=2 l=  18 cons: SET               
>> 2269:d=8  hl=2 l=  16 cons: SEQUENCE          
>> 2271:d=9  hl=2 l=  10 prim: OBJECT            :domainComponent
>> 2283:d=9  hl=2 l=   2 prim: IA5STRING         :ca
>> 2287:d=7  hl=2 l=  25 cons: SET               
>> 2289:d=8  hl=2 l=  23 cons: SEQUENCE          
>> 2291:d=9  hl=2 l=  10 prim: OBJECT            :domainComponent
>> 2303:d=9  hl=2 l=   9 prim: IA5STRING         :sandelman
>> 2314:d=7  hl=2 l=  28 cons: SET               
>> 2316:d=8  hl=2 l=  26 cons: SEQUENCE          
>> 2318:d=9  hl=2 l=   3 prim: OBJECT            :commonName
>> 2323:d=9  hl=2 l=  19 prim: UTF8STRING        :Unstrung Highway CA
>> 2344:d=6  hl=2 l=   1 prim: INTEGER           :01
>> 2347:d=5  hl=2 l=  13 cons: SEQUENCE          
>> 2349:d=6  hl=2 l=   9 prim: OBJECT            :sha256
>> 2360:d=6  hl=2 l=   0 prim: NULL              
>> 2362:d=5  hl=3 l= 228 cons: cont [ 0 ]        
>> 2365:d=6  hl=2 l=  24 cons: SEQUENCE          
>> 2367:d=7  hl=2 l=   9 prim: OBJECT            :contentType
>> 2378:d=7  hl=2 l=  11 cons: SET               
>> 2380:d=8  hl=2 l=   9 prim: OBJECT            :pkcs7-data
>> 2391:d=6  hl=2 l=  28 cons: SEQUENCE          
>> 2393:d=7  hl=2 l=   9 prim: OBJECT            :signingTime
>> 2404:d=7  hl=2 l=  15 cons: SET               
>> 2406:d=8  hl=2 l=  13 prim: UTCTIME           :170325220308Z
>> 2421:d=6  hl=2 l=  47 cons: SEQUENCE          
>> 2423:d=7  hl=2 l=   9 prim: OBJECT            :messageDigest
>> 2434:d=7  hl=2 l=  34 cons: SET               
>> 2436:d=8  hl=2 l=  32 prim: OCTET STRING      [HEX DUMP]:552DD2EE5CBC4C7C4D207F98A2519F031EE10074D674265A7DD0CA73E68BE57D
>> 2470:d=6  hl=2 l= 121 cons: SEQUENCE          
>> 2472:d=7  hl=2 l=   9 prim: OBJECT            :S/MIME Capabilities
>> 2483:d=7  hl=2 l= 108 cons: SET               
>> 2485:d=8  hl=2 l= 106 cons: SEQUENCE          
>> 2487:d=9  hl=2 l=  11 cons: SEQUENCE          
>> 2489:d=10 hl=2 l=   9 prim: OBJECT            :aes-256-cbc
>> 2500:d=9  hl=2 l=  11 cons: SEQUENCE          
>> 2502:d=10 hl=2 l=   9 prim: OBJECT            :aes-192-cbc
>> 2513:d=9  hl=2 l=  11 cons: SEQUENCE          
>> 2515:d=10 hl=2 l=   9 prim: OBJECT            :aes-128-cbc
>> 2526:d=9  hl=2 l=  10 cons: SEQUENCE          
>> 2528:d=10 hl=2 l=   8 prim: OBJECT            :des-ede3-cbc
>> 2538:d=9  hl=2 l=  14 cons: SEQUENCE          
>> 2540:d=10 hl=2 l=   8 prim: OBJECT            :rc2-cbc
>> 2550:d=10 hl=2 l=   2 prim: INTEGER           :80
>> 2554:d=9  hl=2 l=  13 cons: SEQUENCE          
>> 2556:d=10 hl=2 l=   8 prim: OBJECT            :rc2-cbc
>> 2566:d=10 hl=2 l=   1 prim: INTEGER           :40
>> 2569:d=9  hl=2 l=   7 cons: SEQUENCE          
>> 2571:d=10 hl=2 l=   5 prim: OBJECT            :des-cbc
>> 2578:d=9  hl=2 l=  13 cons: SEQUENCE          
>> 2580:d=10 hl=2 l=   8 prim: OBJECT            :rc2-cbc
>> 2590:d=10 hl=2 l=   1 prim: INTEGER           :28
>> 2593:d=5  hl=2 l=  10 cons: SEQUENCE          
>> 2595:d=6  hl=2 l=   8 prim: OBJECT            :ecdsa-with-SHA256
>> 2605:d=5  hl=2 l= 103 prim: OCTET STRING      [HEX DUMP]:3065023100E60EAF73A69826077CF6B760AF9BD1C9BF723D0E84812B06B5A8B7C252362394D98E1B5B4C02D8ACD8DA5BD2248D51EA02306B5BDBDFFBB022A1E039A1847259D2E0AA332E12D24053B3E7ECA6D18EA821E29A53D93EE3BA4DE7D8C594C51736511C
>> 
>> And this is the “encoded” form:
>> -----BEGIN PKCS7-----
>> MIIKkgYJKoZIhvcNAQcCoIIKgzCCCn8CAQExDzANBglghkgBZQMEAgEFADCCBmwG
>> CSqGSIb3DQEHAaCCBl0EggZZeyJpZXRmLXZvdWNoZXI6dm91Y2hlciI6eyJub25j
>> ZSI6IjYyYTJlNzY5M2Q4MmZjZGEyNjI0ZGU1OGZiNjcyMmU1IiwiY3JlYXRlZC1v
>> biI6IjIwMTctMDEtMDFUMDA6MDA6MDAuMDAwWiIsImRldmljZS1pZGVudGlmaWVy
>> IjoiMDAtZDAtZTUtZjItMDAtMDEiLCJhc3NlcnRpb24iOiJsb2dnZWQiLCJvd25l
>> ciI6Ik1JSUVFekNDQXZ1Z0F3SUJBZ0lKQUs2ckZvdXZrKzdZTUEwR0NTcUdTSWIz
>> RFFFQkN3VUFNSUdmTVFzd1xuQ1FZRFZRUUdFd0pEUVRFUU1BNEdBMVVFQ0F3SFQy
>> NTBZWEpwYnpFUE1BMEdBMVVFQnd3R1QzUjBZWGRoXG5NUm93R0FZRFZRUUtEQkZQ
>> ZDI1bGNpQkZlR0Z0Y0d4bElFOXVaVEVSTUE4R0ExVUV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0uCqMy4S0kBTs+fs
>> ptGOqCHimlPZPuO6TefYxZTFFzZRHA==
>> -----END PKCS7-----
>> 
>> 
>> _______________________________________________
>> Anima-bootstrap mailing list
>> Anima-bootstrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/anima-bootstrap
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Anima mailing list
>> Anima@ietf.org
>> https://www.ietf.org/mailman/listinfo/anima
> 
> _______________________________________________
> Anima-bootstrap mailing list
> Anima-bootstrap@ietf.org
> https://www.ietf.org/mailman/listinfo/anima-bootstrap