Package system.identitymodel.metadata
Class MetadataSerializer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.identitymodel.metadata.MetadataSerializer
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class MetadataSerializer extends NetObject
The base .NET class managing System.IdentityModel.Metadata.MetadataSerializer, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IdentityModel.Metadata.MetadataSerializer
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.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.IdentityModelstatic java.lang.StringclassNameQualified class name: System.IdentityModel.Metadata.MetadataSerializerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description MetadataSerializer()MetadataSerializer(java.lang.Object instance)Internal constructor.MetadataSerializer(SecurityTokenSerializer tokenSerializer)
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.IdentityModel- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.IdentityModel.Metadata.MetadataSerializer- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetadataSerializer
public MetadataSerializer(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
MetadataSerializer
public MetadataSerializer() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, MulticastNotSupportedException
-
MetadataSerializer
public MetadataSerializer(SecurityTokenSerializer tokenSerializer) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
-
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 MetadataSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoMetadataSerializer, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
MetadataSerializerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ReadWebServiceDescriptorElement
public boolean ReadWebServiceDescriptorElement(XmlReader reader, WebServiceDescriptor roleDescriptor) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, XmlException, CultureNotFoundException, NotSupportedException, XmlSchemaException
- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionXmlExceptionCultureNotFoundExceptionNotSupportedExceptionXmlSchemaException
-
ReadMetadata
public MetadataBase ReadMetadata(Stream stream) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, XmlException
- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionXmlException
-
ReadMetadata
public MetadataBase ReadMetadata(XmlReader reader) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, XmlException
- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionXmlException
-
ReadMetadata
public MetadataBase ReadMetadata(XmlReader reader, SecurityTokenResolver tokenResolver) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, XmlException, NotSupportedException, CultureNotFoundException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionXmlExceptionNotSupportedExceptionCultureNotFoundExceptionKeyNotFoundException
-
WriteMetadata
public void WriteMetadata(Stream stream, MetadataBase metadata) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, CryptographicException
- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionCryptographicException
-
WriteMetadata
public void WriteMetadata(XmlWriter writer, MetadataBase metadata) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, PlatformNotSupportedException, CryptographicException
- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionPlatformNotSupportedExceptionCryptographicException
-
getSecurityTokenSerializer
public SecurityTokenSerializer getSecurityTokenSerializer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCertificateValidator
public X509CertificateValidator getCertificateValidator() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCertificateValidator
public void setCertificateValidator(X509CertificateValidator CertificateValidator) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTrustedStoreLocation
public StoreLocation getTrustedStoreLocation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTrustedStoreLocation
public void setTrustedStoreLocation(StoreLocation TrustedStoreLocation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRevocationMode
public X509RevocationMode getRevocationMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRevocationMode
public void setRevocationMode(X509RevocationMode RevocationMode) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCertificateValidationMode
public X509CertificateValidationMode getCertificateValidationMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCertificateValidationMode
public void setCertificateValidationMode(X509CertificateValidationMode CertificateValidationMode) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-