We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ae43f commit 4154ef3Copy full SHA for 4154ef3
rcgen/src/key_pair.rs
@@ -697,9 +697,9 @@ impl PublicKeyData for SubjectPublicKeyInfo {
697
698
/// The public key data of a key pair
699
pub trait PublicKeyData {
700
- /// The subject public key info, in DER format
+ /// The public key data in DER format
701
///
702
- /// The key is formatted according to the SubjectPublicKeyInfo struct of X.509.
+ /// The key is formatted according to the X.509 SubjectPublicKeyInfo struct.
703
/// See [RFC 5280 section 4.1](https://tools.ietf.org/html/rfc5280#section-4.1).
704
fn subject_public_key_info(&self) -> Vec<u8> {
705
yasna::construct_der(|writer| serialize_public_key_der(self, writer))
0 commit comments