Class SignerInfo
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.pkcs.SignerInfo
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SignerInfo extends NetObject
The base .NET class managing System.Security.Cryptography.Pkcs.SignerInfo, System.Security.Cryptography.Pkcs, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Security.Cryptography.Pkcs, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Security.Cryptography.Pkcsstatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.Pkcs.SignerInfostatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SignerInfo()SignerInfo(java.lang.Object instance)Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Security.Cryptography.Pkcs, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Security.Cryptography.Pkcs- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.Pkcs.SignerInfo- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SignerInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSignerInfo, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SignerInfoinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetSignature
public byte[] GetSignature() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
AddUnsignedAttribute
public void AddUnsignedAttribute(AsnEncodedData unsignedAttribute) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentException, CryptographicException, AsnContentException, RankException, NotSupportedException, CultureNotFoundException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionArgumentExceptionCryptographicExceptionAsnContentExceptionRankExceptionNotSupportedExceptionCultureNotFoundException
-
CheckHash
public void CheckHash() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, CryptographicException, IndexOutOfRangeException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, AsnContentException, ArrayTypeMismatchException, OverflowException, OutOfMemoryException, CultureNotFoundException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionCryptographicExceptionIndexOutOfRangeExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentNullExceptionAsnContentExceptionArrayTypeMismatchExceptionOverflowExceptionOutOfMemoryExceptionCultureNotFoundException
-
CheckSignature
public void CheckSignature(boolean verifySignatureOnly) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, CryptographicException, IOException, KeyNotFoundException, AsnContentException, OverflowException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionIOExceptionKeyNotFoundExceptionAsnContentExceptionOverflowException
-
CheckSignature
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionCryptographicExceptionIOExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionAsnContentExceptionOverflowException
-
ComputeCounterSignature
public void ComputeCounterSignature() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
ComputeCounterSignature
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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionAsnContentExceptionMissingMethodExceptionTargetInvocationExceptionOverflowExceptionKeyNotFoundExceptionOutOfMemoryExceptionIOExceptionRankExceptionNotSupportedException
-
RemoveCounterSignature
public void RemoveCounterSignature(int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, CryptographicException, AsnContentException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionCryptographicExceptionAsnContentException
-
RemoveCounterSignature
public void RemoveCounterSignature(SignerInfo counterSignerInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, CryptographicException, AsnContentException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionCryptographicExceptionAsnContentException
-
RemoveUnsignedAttribute
public void RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, AsnContentException, NotSupportedException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionAsnContentExceptionNotSupportedException
-
getVersion
public int getVersion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSignedAttributes
public CryptographicAttributeObjectCollection getSignedAttributes() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, CultureNotFoundException
-
getUnsignedAttributes
public CryptographicAttributeObjectCollection getUnsignedAttributes() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, CultureNotFoundException
-
getDigestAlgorithm
public Oid getDigestAlgorithm() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSignatureAlgorithm
public Oid getSignatureAlgorithm() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCounterSignerInfos
public SignerInfoCollection getCounterSignerInfos() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, AsnContentException, ArgumentException, InvalidOperationException, CryptographicException, ArrayTypeMismatchException
-
getSignerIdentifier
public SubjectIdentifier getSignerIdentifier() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCertificate
public X509Certificate2 getCertificate() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CryptographicException, IOException, IndexOutOfRangeException, ArgumentNullException, FormatException
-
-