mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-10 01:08:23 +02:00
remove unnecessary prop setting from gen spec
This commit is contained in:
parent
76652f6c6b
commit
5b24d19630
@ -142,9 +142,6 @@ namespace Bit.Android.Services
|
|||||||
{
|
{
|
||||||
var spec = new KeyGenParameterSpec.Builder(KeyAlias, KeyStorePurpose.Decrypt | KeyStorePurpose.Encrypt)
|
var spec = new KeyGenParameterSpec.Builder(KeyAlias, KeyStorePurpose.Decrypt | KeyStorePurpose.Encrypt)
|
||||||
.SetCertificateSubject(subject)
|
.SetCertificateSubject(subject)
|
||||||
.SetCertificateSerialNumber(BigInteger.Ten)
|
|
||||||
.SetKeyValidityStart(start.Time)
|
|
||||||
.SetKeyValidityEnd(end.Time)
|
|
||||||
.SetDigests(KeyProperties.DigestSha1)
|
.SetDigests(KeyProperties.DigestSha1)
|
||||||
.SetEncryptionPaddings(KeyProperties.EncryptionPaddingRsaOaep)
|
.SetEncryptionPaddings(KeyProperties.EncryptionPaddingRsaOaep)
|
||||||
.Build();
|
.Build();
|
||||||
|
Loading…
Reference in New Issue
Block a user