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.String
assemblyFullName
Fully assembly qualified name: System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Securitystatic java.lang.String
className
Qualified class name: System.Security.Cryptography.Pkcs.SignerInfostatic JCType
classType
The 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SignerInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSignerInfo
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SignerInfo
instance- 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.Throwable
ArgumentNullException
ArgumentException
CryptographicException
OutOfMemoryException
CultureNotFoundException
NotSupportedException
InvalidOperationException
MissingMethodException
TargetInvocationException
AccessViolationException
SecurityException
ArgumentOutOfRangeException
RankException
-
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.Throwable
ArgumentNullException
MissingManifestResourceException
ArgumentException
CryptographicException
OutOfMemoryException
CultureNotFoundException
ArgumentOutOfRangeException
NotSupportedException
NotImplementedException
InvalidOperationException
MissingMethodException
TargetInvocationException
AccessViolationException
SecurityException
RankException
ApplicationException
-
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.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
CryptographicException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
OutOfMemoryException
AccessViolationException
OverflowException
InvalidTimeZoneException
ApplicationException
NotSupportedException
RankException
-
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.Throwable
ArgumentOutOfRangeException
OutOfMemoryException
ArgumentNullException
CryptographicException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
AccessViolationException
SecurityException
MissingMethodException
TargetInvocationException
OverflowException
ApplicationException
TypeLoadException
RankException
-
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.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
SecurityException
MissingMethodException
TargetInvocationException
-
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.Throwable
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
ArgumentException
CryptographicException
OutOfMemoryException
ArgumentOutOfRangeException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
FormatException
SecurityException
MissingMethodException
TargetInvocationException
AccessViolationException
RankException
OverflowException
-
-