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, Version=4.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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Securitystatic 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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Security- 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- Throws:
java.lang.Throwable
-
CheckHash
public void CheckHash() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, CryptographicException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException
-
CheckSignature
public void CheckSignature(boolean verifySignatureOnly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, OutOfMemoryException, CultureNotFoundException, NotSupportedException, InvalidOperationException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, ArgumentOutOfRangeException, RankException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionOutOfMemoryExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionArgumentOutOfRangeExceptionRankException
-
CheckSignature
public void CheckSignature(X509Certificate2Collection extraStore, boolean verifySignatureOnly) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentException, CryptographicException, OutOfMemoryException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, NotImplementedException, InvalidOperationException, MissingMethodException, TargetInvocationException, AccessViolationException, SecurityException, RankException, ApplicationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionArgumentExceptionCryptographicExceptionOutOfMemoryExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotSupportedExceptionNotImplementedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionSecurityExceptionRankExceptionApplicationException
-
ComputeCounterSignature
public void ComputeCounterSignature() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CryptographicException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, OutOfMemoryException, AccessViolationException, OverflowException, InvalidTimeZoneException, ApplicationException, NotSupportedException, RankException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCryptographicExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOutOfMemoryExceptionAccessViolationExceptionOverflowExceptionInvalidTimeZoneExceptionApplicationExceptionNotSupportedExceptionRankException
-
ComputeCounterSignature
public void ComputeCounterSignature(CmsSigner signer) throws java.lang.Throwable, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException, CryptographicException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, AccessViolationException, SecurityException, MissingMethodException, TargetInvocationException, OverflowException, ApplicationException, TypeLoadException, RankException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentNullExceptionCryptographicExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionAccessViolationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionOverflowExceptionApplicationExceptionTypeLoadExceptionRankException
-
RemoveCounterSignature
public void RemoveCounterSignature(int index) throws java.lang.Throwable, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException, CryptographicException, ArgumentException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException
-
RemoveCounterSignature
public void RemoveCounterSignature(SignerInfo counterSignerInfo) throws java.lang.Throwable, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException, CryptographicException, ArgumentException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException
-
getVersion
public int getVersion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSignedAttributes
public CryptographicAttributeObjectCollection getSignedAttributes() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, CryptographicException, ApplicationException, NotSupportedException
-
getUnsignedAttributes
public CryptographicAttributeObjectCollection getUnsignedAttributes() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, OutOfMemoryException, CryptographicException, ApplicationException, NotSupportedException
-
getDigestAlgorithm
public Oid getDigestAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, CryptographicException, MissingMethodException, TargetInvocationException, NotSupportedException
-
getSignatureAlgorithm
public Oid getSignatureAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, CryptographicException, MissingMethodException, TargetInvocationException, NotSupportedException
-
getCounterSignerInfos
public SignerInfoCollection getCounterSignerInfos() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CryptographicException, OutOfMemoryException
-
getSignerIdentifier
public SubjectIdentifier getSignerIdentifier() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, SecurityException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionSecurityExceptionMissingMethodExceptionTargetInvocationException
-
getCertificate
public X509Certificate2 getCertificate() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, CryptographicException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, FormatException, SecurityException, MissingMethodException, TargetInvocationException, AccessViolationException, RankException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionCryptographicExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionFormatExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionAccessViolationExceptionRankExceptionOverflowException
-
-