mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
remove unnecessary prop setting from gen spec
This commit is contained in:
parent
76652f6c6b
commit
5b24d19630
1 changed files with 0 additions and 3 deletions
|
@ -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 a new issue