SignerInfo.AddUnsignedAttribute(AsnEncodedData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified attribute to the current document.
public:
void AddUnsignedAttribute(System::Security::Cryptography::AsnEncodedData ^ unsignedAttribute);
public:
void AddUnsignedAttribute(System::Security::Cryptography::AsnEncodedData ^ asnEncodedData);
public void AddUnsignedAttribute (System.Security.Cryptography.AsnEncodedData unsignedAttribute);
public void AddUnsignedAttribute (System.Security.Cryptography.AsnEncodedData asnEncodedData);
member this.AddUnsignedAttribute : System.Security.Cryptography.AsnEncodedData -> unit
member this.AddUnsignedAttribute : System.Security.Cryptography.AsnEncodedData -> unit
Public Sub AddUnsignedAttribute (unsignedAttribute As AsnEncodedData)
Public Sub AddUnsignedAttribute (asnEncodedData As AsnEncodedData)
Parameters
- unsignedAttributeasnEncodedData
- AsnEncodedData
The ASN.1 encoded attribute to add to the document.
Exceptions
Remarks
If the specified attribute already exists in the document, it is merged with the existing one.
The document is re-encoded after the addition.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.