Mac 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
Mac(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Mac(MacSpi, Provider, String) |
Creates a MAC object. |
Mac(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Mac (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.Mac : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.Mac
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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
Mac(MacSpi, Provider, String)
Creates a MAC object.
[Android.Runtime.Register(".ctor", "(Ljavax/crypto/MacSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")]
protected Mac (Javax.Crypto.MacSpi? macSpi, Java.Security.Provider? provider, string? algorithm);
[<Android.Runtime.Register(".ctor", "(Ljavax/crypto/MacSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")>]
new Javax.Crypto.Mac : Javax.Crypto.MacSpi * Java.Security.Provider * string -> Javax.Crypto.Mac
Parameters
- macSpi
- MacSpi
the delegate
- provider
- Provider
the provider
- algorithm
- String
the algorithm
- Attributes
Remarks
Creates a MAC object.
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.