-
Notifications
You must be signed in to change notification settings - Fork 139
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&Issuertype 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 toCertificateParamsare now attached toIssuerinstead, removing a number of documented caveats.- The
RemoteKeyPairtrait is now calledSigningKeyand instead ofKeyPairbeing an enum that contains aRemotevariant, that variant has removed in favor ofKeyPairimplementing 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
Certificateno 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 viaCertificateParamsdirectly. - String types have been moved into a module (see Move string types to separate module #329).
Metadata
Metadata
Assignees
Labels
No labels