From b59d8ebcab6d7f226d1270740bb80f3074c20f0b Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Thu, 4 Apr 2024 12:46:16 -0400 Subject: [PATCH] Document that Encoders are safe for concurrent use --- pkcs12.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkcs12.go b/pkcs12.go index 14dd3a5..2a874a8 100644 --- a/pkcs12.go +++ b/pkcs12.go @@ -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