docs: add XML documentation for CMS SignedData stream generator (Batch 13a)#687
Open
KonradSop wants to merge 1 commit into
Open
docs: add XML documentation for CMS SignedData stream generator (Batch 13a)#687KonradSop wants to merge 1 commit into
KonradSop wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds XML documentation to
CmsSignedDataStreamGenerator— the streaming entry point for creating CMS SignedData (PKCS#7 signed-data) messages, the counterpart toCmsSignedDataGenerator(Batch 12a-3, #686):CmsSignedGenerator, and a usage example.SecureRandomoverload.SetBufferSize— documents the buffer length for the encapsulated content OCTET STRING segments.AddDigestsoverloads — bothparams string[]andIEnumerable<string>.AddSigneroverloads — all eight families documented (certificate vs subject key id; default attributes vsAttributeTablevsCmsAttributeTableGenerator; inferred vs explicit encryption OID).Openoverloads — documents encapsulated vs non-encapsulated content, explicit content type OID, and the optional data-output copy stream;<exception>tags on the core overload where it validates the supplied streams.Legacy
/**block comments converted to XML.Key Accomplishments
AddCertificates/AddCrlsfrom the base class.ArgumentNullException/ArgumentExceptiondocumented only on theOpenoverload that validates its stream arguments.<summary>blocks).CmsSignedDataGenerator(docs: add XML documentation for CMS SignedData generator (Batch 12a-3) #686).Verification
dotnet build crypto/src/BouncyCastle.Crypto.csproj -c Release— 0 errors, no new warnings.Checklist before requesting a review
See also Contributing Guidelines.