Package system.servicemodel.security
Class WSSecurityTokenSerializer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.identitymodel.selectors.SecurityTokenSerializer
-
- system.servicemodel.security.WSSecurityTokenSerializer
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class WSSecurityTokenSerializer extends SecurityTokenSerializer
The base .NET class managing System.ServiceModel.Security.WSSecurityTokenSerializer, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Security.WSSecurityTokenSerializer
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.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.ServiceModelstatic java.lang.StringclassNameQualified class name: System.ServiceModel.Security.WSSecurityTokenSerializerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WSSecurityTokenSerializer()WSSecurityTokenSerializer(boolean emitBspRequiredAttributes)WSSecurityTokenSerializer(java.lang.Object instance)Internal constructor.WSSecurityTokenSerializer(SecurityVersion securityVersion)WSSecurityTokenSerializer(SecurityVersion securityVersion, boolean emitBspRequiredAttributes)WSSecurityTokenSerializer(SecurityVersion securityVersion, boolean emitBspRequiredAttributes, SamlSerializer samlSerializer)
-
Method Summary
-
Methods inherited from class system.identitymodel.selectors.SecurityTokenSerializer
CanReadKeyIdentifier, CanReadKeyIdentifierClause, CanReadToken, CanWriteKeyIdentifier, CanWriteKeyIdentifierClause, CanWriteToken, ReadKeyIdentifier, ReadKeyIdentifierClause, ReadToken, WriteKeyIdentifier, WriteKeyIdentifierClause, WriteToken
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ServiceModel, 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.ServiceModel- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ServiceModel.Security.WSSecurityTokenSerializer- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WSSecurityTokenSerializer
public WSSecurityTokenSerializer(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
WSSecurityTokenSerializer
public WSSecurityTokenSerializer() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException
-
WSSecurityTokenSerializer
public WSSecurityTokenSerializer(boolean emitBspRequiredAttributes) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionNotSupportedException
-
WSSecurityTokenSerializer
public WSSecurityTokenSerializer(SecurityVersion securityVersion) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionNotSupportedException
-
WSSecurityTokenSerializer
public WSSecurityTokenSerializer(SecurityVersion securityVersion, boolean emitBspRequiredAttributes) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException
-
WSSecurityTokenSerializer
public WSSecurityTokenSerializer(SecurityVersion securityVersion, boolean emitBspRequiredAttributes, SamlSerializer samlSerializer) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classSecurityTokenSerializer- 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 classSecurityTokenSerializer- 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 classSecurityTokenSerializer- 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 classSecurityTokenSerializer- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classSecurityTokenSerializer
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classSecurityTokenSerializer- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static WSSecurityTokenSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoWSSecurityTokenSerializer, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
WSSecurityTokenSerializerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
TryCreateKeyIdentifierClauseFromTokenXml
public boolean TryCreateKeyIdentifierClauseFromTokenXml(XmlElement element, SecurityTokenReferenceStyle tokenReferenceStyle, JCORefOut<SecurityKeyIdentifierClause> securityKeyIdentifierClause) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundException
-
CreateKeyIdentifierClauseFromTokenXml
public SecurityKeyIdentifierClause CreateKeyIdentifierClauseFromTokenXml(XmlElement element, SecurityTokenReferenceStyle tokenReferenceStyle) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
getEmitBspRequiredAttributes
public boolean getEmitBspRequiredAttributes() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMaximumKeyDerivationLabelLength
public int getMaximumKeyDerivationLabelLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMaximumKeyDerivationNonceLength
public int getMaximumKeyDerivationNonceLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMaximumKeyDerivationOffset
public int getMaximumKeyDerivationOffset() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSecurityVersion
public SecurityVersion getSecurityVersion() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDefaultInstance
public static WSSecurityTokenSerializer getDefaultInstance() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionNotSupportedExceptionArgumentException
-
-