Skip to content

Commit b59d8eb

Browse files
committed
Document that Encoders are safe for concurrent use
1 parent a23dd40 commit b59d8eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkcs12.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const DefaultPassword = "changeit"
3838

3939
// An Encoder contains methods for encoding PKCS#12 files. This package
4040
// defines several different Encoders with different parameters.
41+
// An Encoder is safe for concurrent use by multiple goroutines.
4142
type Encoder struct {
4243
macAlgorithm asn1.ObjectIdentifier
4344
certAlgorithm asn1.ObjectIdentifier

0 commit comments

Comments
 (0)