Skip to content

Commit

Permalink
Update PrivateKey docs to note Sec1 support
Browse files Browse the repository at this point in the history
Sec1 has been supported since #998.
  • Loading branch information
sfackler authored and djc committed Apr 3, 2023
1 parent 462eaea commit b0d5766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustls/src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::fmt;
/// This type contains a private key by value.
///
/// The private key must be DER-encoded ASN.1 in either
/// PKCS#8 or PKCS#1 format.
/// PKCS#8, PKCS#1, or Sec1 format.
///
/// The `rustls-pemfile` crate can be used to extract
/// private keys from a PEM file in these formats.
Expand Down

0 comments on commit b0d5766

Please sign in to comment.