public class CngAlgorithm extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.CngAlgorithm
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Cryptography
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.CngAlgorithm
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CngAlgorithm() |
CngAlgorithm(java.lang.Object instance)
Internal constructor.
|
CngAlgorithm(java.lang.String algorithm)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CngAlgorithm |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CngAlgorithm, a cast assert is made to check if types are compatible. |
boolean |
Equals(CngAlgorithm other)
Invokes the .NET member Equals.
|
java.lang.String |
getAlgorithm()
Gets the value of the .NET property Algorithm.
|
static CngAlgorithm |
getECDiffieHellman()
Gets the value of the .NET property ECDiffieHellman.
|
static CngAlgorithm |
getECDiffieHellmanP256()
Gets the value of the .NET property ECDiffieHellmanP256.
|
static CngAlgorithm |
getECDiffieHellmanP384()
Gets the value of the .NET property ECDiffieHellmanP384.
|
static CngAlgorithm |
getECDiffieHellmanP521()
Gets the value of the .NET property ECDiffieHellmanP521.
|
static CngAlgorithm |
getECDsa()
Gets the value of the .NET property ECDsa.
|
static CngAlgorithm |
getECDsaP256()
Gets the value of the .NET property ECDsaP256.
|
static CngAlgorithm |
getECDsaP384()
Gets the value of the .NET property ECDsaP384.
|
static CngAlgorithm |
getECDsaP521()
Gets the value of the .NET property ECDsaP521.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static CngAlgorithm |
getMD5()
Gets the value of the .NET property MD5.
|
static CngAlgorithm |
getRsa()
Gets the value of the .NET property Rsa.
|
static CngAlgorithm |
getSha1()
Gets the value of the .NET property Sha1.
|
static CngAlgorithm |
getSha256()
Gets the value of the .NET property Sha256.
|
static CngAlgorithm |
getSha384()
Gets the value of the .NET property Sha384.
|
static CngAlgorithm |
getSha512()
Gets the value of the .NET property Sha512.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CngAlgorithm()
throws java.lang.Throwable
java.lang.Throwablepublic CngAlgorithm(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic CngAlgorithm(java.lang.String algorithm)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException
algorithm - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static CngAlgorithm cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CngAlgorithm, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCngAlgorithm instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(CngAlgorithm other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
other - the argument of type CngAlgorithmjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic java.lang.String getAlgorithm()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static CngAlgorithm getECDiffieHellman() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getECDiffieHellmanP256() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getECDiffieHellmanP384() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getECDiffieHellmanP521() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getECDsa() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getECDsaP256() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getECDsaP384() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getECDsaP521() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static CngAlgorithm getMD5() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getRsa() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getSha1() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getSha256() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getSha384() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic static CngAlgorithm getSha512() throws java.lang.Throwable, ArgumentNullException, ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object