public class SignerInfo extends NetObject
.NET documentation at https://learn.microsoft.com/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=9.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddUnsignedAttribute(AsnEncodedData unsignedAttribute)
Invokes the .NET member AddUnsignedAttribute.
|
static SignerInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SignerInfo, a cast assert is made to check if types are compatible. |
void |
CheckHash()
Invokes the .NET member CheckHash.
|
void |
CheckSignature(boolean verifySignatureOnly)
Invokes the .NET member CheckSignature.
|
void |
CheckSignature(X509Certificate2Collection extraStore,
boolean verifySignatureOnly)
Invokes the .NET member CheckSignature.
|
void |
ComputeCounterSignature()
Invokes the .NET member ComputeCounterSignature.
|
void |
ComputeCounterSignature(CmsSigner signer)
Invokes the .NET member ComputeCounterSignature.
|
X509Certificate2 |
getCertificate()
Gets the value of the .NET property Certificate.
|
SignerInfoCollection |
getCounterSignerInfos()
Gets the value of the .NET property CounterSignerInfos.
|
Oid |
getDigestAlgorithm()
Gets the value of the .NET property DigestAlgorithm.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
byte[] |
GetSignature()
Invokes the .NET member GetSignature.
|
Oid |
getSignatureAlgorithm()
Gets the value of the .NET property SignatureAlgorithm.
|
CryptographicAttributeObjectCollection |
getSignedAttributes()
Gets the value of the .NET property SignedAttributes.
|
SubjectIdentifier |
getSignerIdentifier()
Gets the value of the .NET property SignerIdentifier.
|
CryptographicAttributeObjectCollection |
getUnsignedAttributes()
Gets the value of the .NET property UnsignedAttributes.
|
int |
getVersion()
Gets the value of the .NET property Version.
|
void |
RemoveCounterSignature(int index)
Invokes the .NET member RemoveCounterSignature.
|
void |
RemoveCounterSignature(SignerInfo counterSignerInfo)
Invokes the .NET member RemoveCounterSignature.
|
void |
RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute)
Invokes the .NET member RemoveUnsignedAttribute.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void AddUnsignedAttribute(AsnEncodedData unsignedAttribute) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentException, CryptographicException, AsnContentException, RankException, NotSupportedException, CultureNotFoundException
unsignedAttribute - the argument of type AsnEncodedDatajava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itCryptographicException - if the .NET member raises itAsnContentException - if the .NET member raises itRankException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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,
ArgumentOutOfRangeException,
FormatException,
InvalidOperationException,
AsnContentException,
ArrayTypeMismatchException,
OverflowException,
ArgumentNullException,
OutOfMemoryException,
CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itAsnContentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void CheckSignature(boolean verifySignatureOnly)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CryptographicException,
KeyNotFoundException,
AsnContentException,
OverflowException,
OutOfMemoryException
verifySignatureOnly - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itAsnContentException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void CheckSignature(X509Certificate2Collection extraStore, boolean verifySignatureOnly) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, KeyNotFoundException, AsnContentException, OverflowException, OutOfMemoryException
extraStore - the argument of type X509Certificate2CollectionverifySignatureOnly - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itAsnContentException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void ComputeCounterSignature()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void ComputeCounterSignature(CmsSigner signer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, CryptographicException, IndexOutOfRangeException, ArrayTypeMismatchException, AsnContentException, MissingMethodException, TargetInvocationException, OverflowException, KeyNotFoundException, OutOfMemoryException, RankException, InvalidCastException
signer - the argument of type CmsSignerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAsnContentException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOverflowException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic X509Certificate2 getCertificate() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, MissingMethodException, TargetInvocationException, CryptographicException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentNullException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itpublic SignerInfoCollection getCounterSignerInfos() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, AsnContentException, ArgumentException, InvalidOperationException, CryptographicException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic Oid getDigestAlgorithm() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic byte[] GetSignature()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic Oid getSignatureAlgorithm() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CryptographicAttributeObjectCollection getSignedAttributes() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic SubjectIdentifier getSignerIdentifier() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CryptographicAttributeObjectCollection getUnsignedAttributes() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic int getVersion()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RemoveCounterSignature(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
CryptographicException,
AsnContentException
index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic void RemoveCounterSignature(SignerInfo counterSignerInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, CryptographicException, AsnContentException
counterSignerInfo - the argument of type SignerInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic void RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, AsnContentException, NotSupportedException
unsignedAttribute - the argument of type AsnEncodedDatajava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itAsnContentException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying object