diff options
Diffstat (limited to 'crypto/src/pqc/crypto/lms/LMSParameters.cs')
-rw-r--r-- | crypto/src/pqc/crypto/lms/LMSParameters.cs | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/crypto/src/pqc/crypto/lms/LMSParameters.cs b/crypto/src/pqc/crypto/lms/LMSParameters.cs index 0f68b968f..adffad2da 100644 --- a/crypto/src/pqc/crypto/lms/LMSParameters.cs +++ b/crypto/src/pqc/crypto/lms/LMSParameters.cs @@ -1,24 +1,18 @@ namespace Org.BouncyCastle.Pqc.Crypto.Lms { - public class LMSParameters + public sealed class LMSParameters { - private LMSigParameters lmSigParam; - private LMOtsParameters lmOTSParam; + private readonly LMSigParameters m_lmSigParameters; + private readonly LMOtsParameters m_lmOtsParameters; - public LMSParameters(LMSigParameters lmSigParam, LMOtsParameters lmOTSParam) + public LMSParameters(LMSigParameters lmSigParameters, LMOtsParameters lmOtsParameters) { - this.lmSigParam = lmSigParam; - this.lmOTSParam = lmOTSParam; + m_lmSigParameters = lmSigParameters; + m_lmOtsParameters = lmOtsParameters; } - public LMSigParameters GetLmSigParam() - { - return lmSigParam; - } + public LMSigParameters LMSigParameters => m_lmSigParameters; - public LMOtsParameters GetLmotsParam() - { - return lmOTSParam; - } + public LMOtsParameters LMOtsParameters => m_lmOtsParameters; } -} \ No newline at end of file +} |