public class CompositeMLDsa extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.CompositeMLDsa
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=10.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.CompositeMLDsa
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CompositeMLDsa() |
CompositeMLDsa(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CompositeMLDsa |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CompositeMLDsa, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
byte[] |
ExportCompositeMLDsaPrivateKey() |
byte[] |
ExportCompositeMLDsaPublicKey() |
byte[] |
ExportEncryptedPkcs8PrivateKey(java.lang.String password,
PbeParameters pbeParameters) |
java.lang.String |
ExportEncryptedPkcs8PrivateKeyPem(java.lang.String password,
PbeParameters pbeParameters) |
byte[] |
ExportPkcs8PrivateKey() |
java.lang.String |
ExportPkcs8PrivateKeyPem() |
byte[] |
ExportSubjectPublicKeyInfo() |
java.lang.String |
ExportSubjectPublicKeyInfoPem() |
static CompositeMLDsa |
GenerateKey(CompositeMLDsaAlgorithm algorithm) |
CompositeMLDsaAlgorithm |
getAlgorithm() |
static boolean |
getIsSupported() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static CompositeMLDsa |
ImportCompositeMLDsaPrivateKey(CompositeMLDsaAlgorithm algorithm,
byte[] source) |
static CompositeMLDsa |
ImportCompositeMLDsaPrivateKey(CompositeMLDsaAlgorithm dupParam0,
JCORefOut dupParam1) |
static CompositeMLDsa |
ImportCompositeMLDsaPublicKey(CompositeMLDsaAlgorithm algorithm,
byte[] source) |
static CompositeMLDsa |
ImportCompositeMLDsaPublicKey(CompositeMLDsaAlgorithm dupParam0,
JCORefOut dupParam1) |
static CompositeMLDsa |
ImportEncryptedPkcs8PrivateKey(java.lang.String password,
byte[] source) |
static CompositeMLDsa |
ImportEncryptedPkcs8PrivateKey(java.lang.String dupParam0,
JCORefOut dupParam1) |
static CompositeMLDsa |
ImportFromEncryptedPem(java.lang.String source,
byte[] passwordBytes) |
static CompositeMLDsa |
ImportFromEncryptedPem(java.lang.String dupParam0,
JCORefOut dupParam1) |
static CompositeMLDsa |
ImportFromEncryptedPem(java.lang.String source,
java.lang.String password) |
static CompositeMLDsa |
ImportFromPem(java.lang.String source) |
static CompositeMLDsa |
ImportPkcs8PrivateKey(byte[] source) |
static CompositeMLDsa |
ImportPkcs8PrivateKey(JCORefOut dupParam0) |
static CompositeMLDsa |
ImportSubjectPublicKeyInfo(byte[] source) |
static CompositeMLDsa |
ImportSubjectPublicKeyInfo(JCORefOut dupParam0) |
static boolean |
IsAlgorithmSupported(CompositeMLDsaAlgorithm algorithm) |
void |
setJCOInstance(JCObject instance) |
byte[] |
SignData(byte[] data,
byte[] context) |
byte[] |
SignData(JCORefOut dupParam0,
JCORefOut dupParam1) |
boolean |
VerifyData(byte[] data,
byte[] signature,
byte[] context) |
boolean |
VerifyData(JCORefOut dupParam0,
JCORefOut dupParam1,
JCORefOut dupParam2) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CompositeMLDsa()
throws java.lang.Throwable
java.lang.Throwablepublic CompositeMLDsa(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static CompositeMLDsa cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CompositeMLDsa, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCompositeMLDsa instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic byte[] ExportCompositeMLDsaPrivateKey()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
CryptographicException,
IndexOutOfRangeException
public byte[] ExportCompositeMLDsaPublicKey()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
CryptographicException
public byte[] ExportEncryptedPkcs8PrivateKey(java.lang.String password,
PbeParameters pbeParameters)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
AsnContentException,
OverflowException
public java.lang.String ExportEncryptedPkcs8PrivateKeyPem(java.lang.String password,
PbeParameters pbeParameters)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
AsnContentException,
OverflowException
public byte[] ExportPkcs8PrivateKey()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
CryptographicException
public java.lang.String ExportPkcs8PrivateKeyPem()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CryptographicException,
ArgumentNullException,
ArrayTypeMismatchException
public byte[] ExportSubjectPublicKeyInfo()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
CryptographicException,
OverflowException,
IndexOutOfRangeException,
ArgumentNullException
public java.lang.String ExportSubjectPublicKeyInfoPem()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
CryptographicException,
OverflowException,
IndexOutOfRangeException,
ArgumentNullException
public static CompositeMLDsa GenerateKey(CompositeMLDsaAlgorithm algorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, KeyNotFoundException, MissingMethodException, TargetInvocationException, CryptographicException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionpublic CompositeMLDsaAlgorithm getAlgorithm() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getIsSupported()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static CompositeMLDsa ImportCompositeMLDsaPrivateKey(CompositeMLDsaAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException, CryptographicException, IndexOutOfRangeException, AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionKeyNotFoundExceptionCryptographicExceptionIndexOutOfRangeExceptionAsnContentExceptionpublic static CompositeMLDsa ImportCompositeMLDsaPrivateKey(CompositeMLDsaAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException, CryptographicException, IndexOutOfRangeException, AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionKeyNotFoundExceptionCryptographicExceptionIndexOutOfRangeExceptionAsnContentExceptionpublic static CompositeMLDsa ImportCompositeMLDsaPublicKey(CompositeMLDsaAlgorithm algorithm, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException, CryptographicException, IndexOutOfRangeException, AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionKeyNotFoundExceptionCryptographicExceptionIndexOutOfRangeExceptionAsnContentExceptionpublic static CompositeMLDsa ImportCompositeMLDsaPublicKey(CompositeMLDsaAlgorithm dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, KeyNotFoundException, CryptographicException, IndexOutOfRangeException, AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionKeyNotFoundExceptionCryptographicExceptionIndexOutOfRangeExceptionAsnContentExceptionpublic static CompositeMLDsa ImportEncryptedPkcs8PrivateKey(java.lang.String password, byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportEncryptedPkcs8PrivateKey(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportFromEncryptedPem(java.lang.String source, byte[] passwordBytes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportFromEncryptedPem(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportFromEncryptedPem(java.lang.String source, java.lang.String password) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportFromPem(java.lang.String source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, OverflowException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOverflowExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportPkcs8PrivateKey(byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, CultureNotFoundException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionCultureNotFoundExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportPkcs8PrivateKey(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, CultureNotFoundException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionCultureNotFoundExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportSubjectPublicKeyInfo(byte[] source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, CultureNotFoundException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionCultureNotFoundExceptionKeyNotFoundExceptionpublic static CompositeMLDsa ImportSubjectPublicKeyInfo(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException, CultureNotFoundException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionCultureNotFoundExceptionKeyNotFoundExceptionpublic static boolean IsAlgorithmSupported(CompositeMLDsaAlgorithm algorithm) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, KeyNotFoundException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic byte[] SignData(byte[] data,
byte[] context)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException
public byte[] SignData(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException
public boolean VerifyData(byte[] data,
byte[] signature,
byte[] context)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public boolean VerifyData(JCORefOut dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException