Method Of
Of(Byte[])
Constructs a new signed attributes object with the given content digest.
Declaration
public static SignedAttributes Of(byte[] contentDigest)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | contentDigest | The content digest. |
Returns
Type | Description |
---|---|
SignedAttributes | Null if the argument is null. |
Of(Attributes)
Declaration
[Obsolete("For testing.")]
public static SignedAttributes Of(Attributes attributes)
Parameters
Type | Name | Description |
---|---|---|
Org.BouncyCastle.Asn1.Cms.Attributes | attributes |
Returns
Type | Description |
---|---|
SignedAttributes |