public class SignerInfo extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.Pkcs.SignerInfo
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=8.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.SignerInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SignerInfo() |
SignerInfo(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SignerInfo()
throws java.lang.Throwable
java.lang.Throwablepublic SignerInfo(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddUnsignedAttribute(AsnEncodedData unsignedAttribute) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentException, CryptographicException, AsnContentException, RankException, NotSupportedException, CultureNotFoundException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionArgumentExceptionCryptographicExceptionAsnContentExceptionRankExceptionNotSupportedExceptionCultureNotFoundExceptionpublic static SignerInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SignerInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSignerInfo instancejava.lang.Throwable - in case of error during cast operationpublic void CheckHash()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
CryptographicException,
IndexOutOfRangeException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
ArgumentNullException,
AsnContentException,
ArrayTypeMismatchException,
OverflowException,
OutOfMemoryException,
CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionCryptographicExceptionIndexOutOfRangeExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentNullExceptionAsnContentExceptionArrayTypeMismatchExceptionOverflowExceptionOutOfMemoryExceptionCultureNotFoundExceptionpublic void CheckSignature(boolean verifySignatureOnly)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
CryptographicException,
IOException,
KeyNotFoundException,
AsnContentException,
OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionIOExceptionKeyNotFoundExceptionAsnContentExceptionOverflowExceptionpublic void CheckSignature(X509Certificate2Collection extraStore, boolean verifySignatureOnly) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, CryptographicException, IOException, IndexOutOfRangeException, KeyNotFoundException, AsnContentException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionCryptographicExceptionIOExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionAsnContentExceptionOverflowExceptionpublic void ComputeCounterSignature()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
public void ComputeCounterSignature(CmsSigner signer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, ArrayTypeMismatchException, AsnContentException, MissingMethodException, TargetInvocationException, OverflowException, KeyNotFoundException, OutOfMemoryException, IOException, RankException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionAsnContentExceptionMissingMethodExceptionTargetInvocationExceptionOverflowExceptionKeyNotFoundExceptionOutOfMemoryExceptionIOExceptionRankExceptionNotSupportedExceptionpublic X509Certificate2 getCertificate() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CryptographicException, IOException, IndexOutOfRangeException, ArgumentNullException, FormatException
public SignerInfoCollection getCounterSignerInfos() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, AsnContentException, ArgumentException, InvalidOperationException, CryptographicException, ArrayTypeMismatchException
public Oid getDigestAlgorithm() 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 byte[] GetSignature()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic Oid getSignatureAlgorithm() throws java.lang.Throwable
java.lang.Throwablepublic CryptographicAttributeObjectCollection getSignedAttributes() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, CultureNotFoundException
public SubjectIdentifier getSignerIdentifier() throws java.lang.Throwable
java.lang.Throwablepublic CryptographicAttributeObjectCollection getUnsignedAttributes() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, CultureNotFoundException
public int getVersion()
throws java.lang.Throwable
java.lang.Throwablepublic void RemoveCounterSignature(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
CryptographicException,
AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionCryptographicExceptionAsnContentExceptionpublic void RemoveCounterSignature(SignerInfo counterSignerInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, CryptographicException, AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionCryptographicExceptionAsnContentExceptionpublic void RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, AsnContentException, NotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionAsnContentExceptionNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject