Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Pkcs9ExtensionRequest.cs
Go to the documentation of this file.
4
6
7internal sealed class Pkcs9ExtensionRequest : X501Attribute
8{
10 : base(System.Security.Cryptography.Oids.Pkcs9ExtensionRequestOid, EncodeAttribute(extensions))
11 {
12 }
13
15 {
16 if (extensions == null)
17 {
18 throw new ArgumentNullException("extensions");
19 }
21 using (asnWriter.PushSequence())
22 {
24 {
26 }
27 }
28 return asnWriter.Encode();
29 }
30}
static byte[] EncodeAttribute(IEnumerable< X509Extension > extensions)