KeyStore.SecretKeyEntry Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
KeyStore.SecretKeyEntry(ISecretKey) |
Constructs a |
KeyStore.SecretKeyEntry(ISecretKey, ICollection<KeyStore.IEntryAttribute>) |
Constructs a |
KeyStore.SecretKeyEntry(ISecretKey)
Constructs a SecretKeyEntry
with a
SecretKey
.
[Android.Runtime.Register(".ctor", "(Ljavax/crypto/SecretKey;)V", "")]
public SecretKeyEntry (Javax.Crypto.ISecretKey? secretKey);
[<Android.Runtime.Register(".ctor", "(Ljavax/crypto/SecretKey;)V", "")>]
new Java.Security.KeyStore.SecretKeyEntry : Javax.Crypto.ISecretKey -> Java.Security.KeyStore.SecretKeyEntry
Parameters
- secretKey
- ISecretKey
the SecretKey
- Attributes
Exceptions
if secretKey
is null
.
Remarks
Constructs a SecretKeyEntry
with a SecretKey
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
KeyStore.SecretKeyEntry(ISecretKey, ICollection<KeyStore.IEntryAttribute>)
Constructs a SecretKeyEntry
with a SecretKey
and
associated entry attributes.
[Android.Runtime.Register(".ctor", "(Ljavax/crypto/SecretKey;Ljava/util/Set;)V", "", ApiSince=26)]
public SecretKeyEntry (Javax.Crypto.ISecretKey? secretKey, System.Collections.Generic.ICollection<Java.Security.KeyStore.IEntryAttribute>? attributes);
[<Android.Runtime.Register(".ctor", "(Ljavax/crypto/SecretKey;Ljava/util/Set;)V", "", ApiSince=26)>]
new Java.Security.KeyStore.SecretKeyEntry : Javax.Crypto.ISecretKey * System.Collections.Generic.ICollection<Java.Security.KeyStore.IEntryAttribute> -> Java.Security.KeyStore.SecretKeyEntry
Parameters
- secretKey
- ISecretKey
the SecretKey
- attributes
- ICollection<KeyStore.IEntryAttribute>
the attributes
- Attributes
Remarks
Constructs a SecretKeyEntry
with a SecretKey
and associated entry attributes.
The specified attributes
is cloned before it is stored in the new SecretKeyEntry
object.
Added in 1.8.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.