Changelog History
-
v0.2.1.0 Changes
October 13, 2019โ Added CMS fuctions
contentInfoToDER
andberToContentInfo
in order to generate and parse raw ASN.1.Implementation of AES key wrap had some optimizations.
SHAKE hash algorithms now allow arbitrary output lengths. Lengths that are very small decrease security. A protection is added so that attempts to use lengths which are too small fail, although the criteria are conservative. Generating and parsing content has no restriction.
-
v0.2.0.0 Changes
March 24, 2019โ Added functions
toNamedCredential
andfromNamedCredential
to handle PKCS#12 elements with an alias (friendly name).Functions
fromCredential
andfromNamedCredential
now generate PKCS#12 elements with thelocalKeyId
attribute.Function
toCredential
is now able to locate the leaf certificate and issuers more reliably.๐ Algorithms X25519, X448, Ed25519 and Ed448 are now supported.
CMS functions
digestVerify
andverifySignedData
now return anEither
instead of aMaybe
. ErrorsDigestMismatch
andSignatureNotVerified
are added to report failures.CMS types
SignedData
,DigestedData
andAuthenticatedData
now retain the encapsulated content in encoded form (with type aliasEncapsulatedContent
) instead of a decoded and parsedContentInfo
. TheContentInfo
is parsed and provided only when successfully unwrapping the encapsulated type.๐ The CMS interface is transformed to support detached content. CMS types now have a type parameter to distinguish between a direct reference to the encapsulated or encrypted content, and the
Encap
indirection which denotes an attached or detached content. Functions building CMS types do not return theContentInfo
directly anymore, but an intermediate type to be fed intotoAttachedCI
ortoDetachedCI
. Reverse transformation is possible with utility functionsfromAttached
andfromDetached
when unwrapping aContentInfo
.
-
v0.1.0.0 Changes
September 23, 2018- ๐ First version. Released on an unsuspecting world.