Closed
Description
Proposed release notes
0.14.0 contains a number of potentially breaking API changes, though hopefully the rate of API change should slow down after this. Here is a summary of the most noticeable changes you might run into:
signed_by()
methods now take a reference to an&Issuer
type that contains both the issuer's relevant certificate parameters and the signing key (see Use Issuer directly in the public API #356). Thefrom_ca_cert_der()
andfrom_ca_cert_pem()
constructors that were previously attached toCertificateParams
are now attached toIssuer
instead, removing a number of documented caveats.- The
RemoteKeyPair
trait is now calledSigningKey
and instead ofKeyPair
being an enum that contains aRemote
variant, that variant has removed in favor ofKeyPair
implementing the trait (see Unbundle params from output types #328). - The
KeyPair::public_key_der()
method has moved toPublicKeyData::subject_public_key_info()
(see Unbundle params from output types #328). - Output types like
Certificate
no longer contain their originatingCertificateParams
. Instead,signed_by()
andself_signed()
now take&self
, allowing the caller to retain access to the input parameters (see Unbundle params from output types #328). In order to make this possible,Certificate::key_identifier()
can now be accessed viaCertificateParams
directly. - String types have been moved into a module (see Move string types to separate module #329).
Metadata
Metadata
Assignees
Labels
No labels