1using System.Diagnostics.CodeAnalysis;
34 return TryParse(Content, out Parsed);
47 if (Content is Vector SignedDataVector)
48 return TryParse(SignedDataVector, out Parsed);
66 foreach (
object Item
in SignedDataVector.Elements)
99 return this.Data.CheckSignature(VerifyCertificates, Client);
Static class for parsing and decoding security objects encoded using Abstract Syntax Notation 1 (ASN....
static bool TryDecodeDer(byte[] Data, out object? Value)
Decodes a DER-encoded object.
Signed Data, as defined in RFC 5652, §5.1.
bool CheckSignature(bool VerifyCertificates, ICommunicationLayer? Client)
Checks if the signature is valid.
static bool TryParse(Vector SignedDataVector, [NotNullWhen(true)] out SignedMessage? Parsed)
Tries to parse an ASN.1-encoded Signed Data structure, as defined in RFC 5652, §5....
SignedData Data
Signed Data
bool CheckSignature(bool VerifyCertificates)
Checks if the signature is valid.
static bool TryParse(object? Content, [NotNullWhen(true)] out SignedMessage? Parsed)
Tries to parse an ASN.1-encoded Signed Data structure, as defined in RFC 5652, §5....
static bool TryParse(byte[] RawCertificate, [NotNullWhen(true)] out SignedMessage? Parsed)
Tries to parse an ASN.1-encoded Signed Data structure, as defined in RFC 5652, §5....
Interface for observable classes implementing communication protocols.
class SignedData()
Signed Data, as defined in RFC 5652, §5.1.