Package system.security.cryptography.xml
Class KeyInfoX509Data
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.xml.KeyInfoClause
-
- system.security.cryptography.xml.KeyInfoX509Data
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class KeyInfoX509Data extends KeyInfoClause
The base .NET class managing System.Security.Cryptography.Xml.KeyInfoX509Data, 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.Xml.KeyInfoX509Data
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.Xml.KeyInfoX509Datastatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description KeyInfoX509Data()KeyInfoX509Data(byte[] rgbCert)KeyInfoX509Data(java.lang.Object instance)Internal constructor.KeyInfoX509Data(X509Certificate cert)KeyInfoX509Data(X509Certificate cert, X509IncludeOption includeOption)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAddCertificate(X509Certificate certificate)voidAddIssuerSerial(java.lang.String issuerName, java.lang.String serialNumber)voidAddSubjectKeyId(byte[] subjectKeyId)voidAddSubjectKeyId(java.lang.String subjectKeyId)voidAddSubjectKeyId(JCORefOut dupParam0)voidAddSubjectName(java.lang.String subjectName)static KeyInfoX509Datacast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoKeyInfoX509Data, a cast assert is made to check if types are compatible.NetArrayListgetCertificates()byte[]getCRL()NetArrayListgetIssuerSerials()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeNetArrayListgetSubjectKeyIds()NetArrayListgetSubjectNames()XmlElementGetXml()voidLoadXml(XmlElement element)voidsetCRL(byte[] CRL)voidsetJCOInstance(JCObject instance)
-
-
-
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.Xml.KeyInfoX509Data- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KeyInfoX509Data
public KeyInfoX509Data(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
KeyInfoX509Data
public KeyInfoX509Data() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
KeyInfoX509Data
public KeyInfoX509Data(byte[] rgbCert) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, CryptographicException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ObjectDisposedException, AccessViolationException
-
KeyInfoX509Data
public KeyInfoX509Data(X509Certificate cert) throws java.lang.Throwable, ArgumentNullException, AccessViolationException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionAccessViolationExceptionArgumentOutOfRangeException
-
KeyInfoX509Data
public KeyInfoX509Data(X509Certificate cert, X509IncludeOption includeOption) throws java.lang.Throwable, ArgumentNullException, AccessViolationException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, ApplicationException, NotSupportedException, NullReferenceException
- Throws:
java.lang.ThrowableArgumentNullExceptionAccessViolationExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSecurityExceptionApplicationExceptionNotSupportedExceptionNullReferenceException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classKeyInfoClause- 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 classKeyInfoClause- 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 classKeyInfoClause- 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 classKeyInfoClause- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classKeyInfoClause
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classKeyInfoClause- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static KeyInfoX509Data cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoKeyInfoX509Data, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
KeyInfoX509Datainstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetXml
public XmlElement GetXml() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NullReferenceException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException
- Overrides:
GetXmlin classKeyInfoClause- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNullReferenceExceptionXmlExceptionArgumentOutOfRangeExceptionIndexOutOfRangeException
-
AddCertificate
public void AddCertificate(X509Certificate certificate) throws java.lang.Throwable, ArgumentNullException, AccessViolationException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionAccessViolationExceptionArgumentOutOfRangeException
-
AddIssuerSerial
public void AddIssuerSerial(java.lang.String issuerName, java.lang.String serialNumber) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedException
-
AddSubjectKeyId
public void AddSubjectKeyId(byte[] subjectKeyId) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
AddSubjectKeyId
public void AddSubjectKeyId(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
AddSubjectKeyId
public void AddSubjectKeyId(java.lang.String subjectKeyId) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
AddSubjectName
public void AddSubjectName(java.lang.String subjectName) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
LoadXml
public void LoadXml(XmlElement element) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, XPathException, CryptographicException, FormatException, OutOfMemoryException, AccessViolationException
- Overrides:
LoadXmlin classKeyInfoClause- Throws:
java.lang.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionXPathExceptionCryptographicExceptionFormatExceptionOutOfMemoryExceptionAccessViolationException
-
getCRL
public byte[] getCRL() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCRL
public void setCRL(byte[] CRL) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCertificates
public NetArrayList getCertificates() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIssuerSerials
public NetArrayList getIssuerSerials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSubjectKeyIds
public NetArrayList getSubjectKeyIds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSubjectNames
public NetArrayList getSubjectNames() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-