public class Pkcs8PrivateKeyInfo extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo
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.Pkcs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Cryptography.Pkcs
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Pkcs8PrivateKeyInfo() |
Pkcs8PrivateKeyInfo(java.lang.Object instance)
Internal constructor.
|
Pkcs8PrivateKeyInfo(Oid algorithmId,
Nullable_1 algorithmParameters,
ReadOnlyMemory_1 privateKey,
boolean skipCopies) |
| Modifier and Type | Method and Description |
|---|---|
static Pkcs8PrivateKeyInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Pkcs8PrivateKeyInfo, a cast assert is made to check if types are compatible. |
static Pkcs8PrivateKeyInfo |
Create(AsymmetricAlgorithm privateKey) |
static Pkcs8PrivateKeyInfo |
Decode(ReadOnlyMemory_1 source,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> bytesRead,
boolean skipCopy) |
byte[] |
Encode() |
Oid |
getAlgorithmId() |
Nullable_1 |
getAlgorithmParameters() |
CryptographicAttributeObjectCollection |
getAttributes() |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
ReadOnlyMemory_1 |
getPrivateKeyBytes() |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic Pkcs8PrivateKeyInfo()
throws java.lang.Throwable
java.lang.Throwablepublic Pkcs8PrivateKeyInfo(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Pkcs8PrivateKeyInfo(Oid algorithmId, Nullable_1 algorithmParameters, ReadOnlyMemory_1 privateKey, boolean skipCopies) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, AsnContentException, CryptographicException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionpublic static Pkcs8PrivateKeyInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Pkcs8PrivateKeyInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPkcs8PrivateKeyInfo instancejava.lang.Throwable - in case of error during cast operationpublic static Pkcs8PrivateKeyInfo Create(AsymmetricAlgorithm privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NotImplementedException, IndexOutOfRangeException, AsnContentException, CryptographicException, OutOfMemoryException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNotImplementedExceptionIndexOutOfRangeExceptionAsnContentExceptionCryptographicExceptionOutOfMemoryExceptionCultureNotFoundExceptionpublic static Pkcs8PrivateKeyInfo Decode(ReadOnlyMemory_1 source, JCORefOut<java.util.concurrent.atomic.AtomicInteger> bytesRead, boolean skipCopy) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, AsnContentException, InvalidOperationException, CryptographicException, ArrayTypeMismatchException, RankException, OutOfMemoryException, NotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionAsnContentExceptionInvalidOperationExceptionCryptographicExceptionArrayTypeMismatchExceptionRankExceptionOutOfMemoryExceptionNotSupportedExceptionpublic byte[] Encode()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArgumentException,
ArrayTypeMismatchException,
InvalidOperationException,
OverflowException,
CryptographicException,
AsnContentException
public Oid getAlgorithmId() throws java.lang.Throwable
java.lang.Throwablepublic Nullable_1 getAlgorithmParameters() throws java.lang.Throwable
java.lang.Throwablepublic CryptographicAttributeObjectCollection getAttributes() 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 org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic ReadOnlyMemory_1 getPrivateKeyBytes() throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObject