Skip to content

Commit 124f674

Browse files
Expose RsaSignatureEncoding (#864)
* expose RsaSignatureEncoding * Add doc comment --------- Co-authored-by: Justin Smith <[email protected]>
1 parent 86de8df commit 124f674

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

aws-lc-rs/src/rsa/signature.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ pub(crate) enum RsaSigningAlgorithmId {
172172
}
173173

174174
#[allow(clippy::module_name_repetitions)]
175+
/// Encoding type for an RSA signature
175176
pub struct RsaSignatureEncoding(
176177
&'static digest::Algorithm,
177178
&'static RsaPadding,

aws-lc-rs/src/signature.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,13 @@ use core::fmt::{Debug, Formatter};
238238
#[cfg(feature = "ring-sig-verify")]
239239
use untrusted::Input;
240240

241-
pub use crate::rsa::signature::RsaEncoding;
241+
pub use crate::rsa::signature::{RsaEncoding, RsaSignatureEncoding};
242242
pub use crate::rsa::{
243243
KeyPair as RsaKeyPair, PublicKey as RsaSubjectPublicKey,
244244
PublicKeyComponents as RsaPublicKeyComponents, RsaParameters,
245245
};
246246

247-
use crate::rsa::signature::{RsaSignatureEncoding, RsaSigningAlgorithmId};
247+
use crate::rsa::signature::RsaSigningAlgorithmId;
248248
use crate::rsa::RsaVerificationAlgorithmId;
249249

250250
pub use crate::ec::key_pair::{EcdsaKeyPair, PrivateKey as EcdsaPrivateKey};

0 commit comments

Comments
 (0)