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.String
assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.ServiceModelstatic java.lang.String
className
Qualified class name: System.ServiceModel.Security.WSSecurityTokenSerializerstatic org.mases.jcobridge.JCType
classType
The 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WSSecurityTokenSerializer
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoWSSecurityTokenSerializer
, a cast assert is made to check if types are compatible.SecurityKeyIdentifierClause
CreateKeyIdentifierClauseFromTokenXml(XmlElement element, SecurityTokenReferenceStyle tokenReferenceStyle)
static WSSecurityTokenSerializer
getDefaultInstance()
boolean
getEmitBspRequiredAttributes()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typeint
getMaximumKeyDerivationLabelLength()
int
getMaximumKeyDerivationNonceLength()
int
getMaximumKeyDerivationOffset()
SecurityVersion
getSecurityVersion()
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
boolean
TryCreateKeyIdentifierClauseFromTokenXml(XmlElement element, SecurityTokenReferenceStyle tokenReferenceStyle, JCORefOut<SecurityKeyIdentifierClause> securityKeyIdentifierClause)
-
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
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
WSSecurityTokenSerializer
public WSSecurityTokenSerializer(java.lang.Object instance) throws java.lang.Throwable
Internal 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.Throwable
ArgumentException
ArgumentNullException
OutOfMemoryException
ArgumentOutOfRangeException
NotSupportedException
-
WSSecurityTokenSerializer
public WSSecurityTokenSerializer(SecurityVersion securityVersion) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
OutOfMemoryException
ArgumentOutOfRangeException
NotSupportedException
-
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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classSecurityTokenSerializer
- 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 classSecurityTokenSerializer
- 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 classSecurityTokenSerializer
- 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 classSecurityTokenSerializer
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classSecurityTokenSerializer
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classSecurityTokenSerializer
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static WSSecurityTokenSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoWSSecurityTokenSerializer
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
WSSecurityTokenSerializer
instance- 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.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
NotSupportedException
KeyNotFoundException
-
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.Throwable
ArgumentNullException
MissingManifestResourceException
ArgumentOutOfRangeException
NotSupportedException
ArgumentException
-
-