AsnWriter.PopOctetString(Nullable<Asn1Tag>) 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.
Indicate that the open Octet String with the tag UNIVERSAL 4 is closed, returning the writer to the parent context.
public void PopOctetString (System.Formats.Asn1.Asn1Tag? tag = default);
member this.PopOctetString : Nullable<System.Formats.Asn1.Asn1Tag> -> unit
Public Sub PopOctetString (Optional tag As Nullable(Of Asn1Tag) = Nothing)
Parameters
Exceptions
the writer is not currently positioned within an Octet String with the specified tag.
Remarks
In BER and DER modes, the encoded contents will remain in a single primitive Octet String. In CER mode, the contents will be broken up into multiple segments, when required.
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.