Skip to content

Commit

Permalink
Document that Encoders are safe for concurrent use
Browse files Browse the repository at this point in the history
  • Loading branch information
AGWA committed Apr 4, 2024
1 parent a23dd40 commit b59d8eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkcs12.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const DefaultPassword = "changeit"

// An Encoder contains methods for encoding PKCS#12 files. This package
// defines several different Encoders with different parameters.
// An Encoder is safe for concurrent use by multiple goroutines.
type Encoder struct {
macAlgorithm asn1.ObjectIdentifier
certAlgorithm asn1.ObjectIdentifier
Expand Down

0 comments on commit b59d8eb

Please sign in to comment.