Package system.identitymodel.tokens
Class SecurityTokenDescriptor
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.identitymodel.tokens.SecurityTokenDescriptor
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SecurityTokenDescriptor extends NetObject
The base .NET class managing System.IdentityModel.Tokens.SecurityTokenDescriptor, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IdentityModel.Tokens.SecurityTokenDescriptor
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.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.IdentityModelstatic java.lang.String
className
Qualified class name: System.IdentityModel.Tokens.SecurityTokenDescriptorstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SecurityTokenDescriptor()
SecurityTokenDescriptor(java.lang.Object instance)
Internal constructor.
-
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.Tokens.SecurityTokenDescriptor- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SecurityTokenDescriptor
public SecurityTokenDescriptor(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SecurityTokenDescriptor
public SecurityTokenDescriptor() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
-
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 classNetObject
- 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 classNetObject
- 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 classNetObject
- 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 classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SecurityTokenDescriptor cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSecurityTokenDescriptor
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SecurityTokenDescriptor
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
AddAuthenticationClaims
public void AddAuthenticationClaims(java.lang.String authType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, KeyNotFoundException, InvalidOperationException, InvalidTimeZoneException, NotSupportedException, OverflowException, IndexOutOfRangeException, FormatException
-
AddAuthenticationClaims
public void AddAuthenticationClaims(java.lang.String authType, DateTime time) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, KeyNotFoundException, InvalidOperationException, InvalidTimeZoneException, SecurityException, IOException, NotSupportedException, OverflowException, TypeInitializationException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, OutOfMemoryException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
KeyNotFoundException
InvalidOperationException
InvalidTimeZoneException
SecurityException
IOException
NotSupportedException
OverflowException
TypeInitializationException
MissingMethodException
TargetInvocationException
IndexOutOfRangeException
FormatException
OutOfMemoryException
NullReferenceException
-
ApplyTo
public void ApplyTo(RequestSecurityTokenResponse response) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
getLifetime
public Lifetime getLifetime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLifetime
public void setLifetime(Lifetime Lifetime) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEncryptingCredentials
public EncryptingCredentials getEncryptingCredentials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEncryptingCredentials
public void setEncryptingCredentials(EncryptingCredentials EncryptingCredentials) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getProof
public ProofDescriptor getProof() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setProof
public void setProof(ProofDescriptor Proof) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAttachedReference
public SecurityKeyIdentifierClause getAttachedReference() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAttachedReference
public void setAttachedReference(SecurityKeyIdentifierClause AttachedReference) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnattachedReference
public SecurityKeyIdentifierClause getUnattachedReference() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUnattachedReference
public void setUnattachedReference(SecurityKeyIdentifierClause UnattachedReference) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getToken
public SecurityToken getToken() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setToken
public void setToken(SecurityToken Token) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSigningCredentials
public SigningCredentials getSigningCredentials() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSigningCredentials
public void setSigningCredentials(SigningCredentials SigningCredentials) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAuthenticationInfo
public AuthenticationInformation getAuthenticationInfo() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAuthenticationInfo
public void setAuthenticationInfo(AuthenticationInformation AuthenticationInfo) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSubject
public ClaimsIdentity getSubject() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSubject
public void setSubject(ClaimsIdentity Subject) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAppliesToAddress
public java.lang.String getAppliesToAddress() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAppliesToAddress
public void setAppliesToAddress(java.lang.String AppliesToAddress) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, SecurityException, UriFormatException, OutOfMemoryException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
SecurityException
UriFormatException
OutOfMemoryException
OverflowException
-
getReplyToAddress
public java.lang.String getReplyToAddress() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setReplyToAddress
public void setReplyToAddress(java.lang.String ReplyToAddress) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTokenIssuerName
public java.lang.String getTokenIssuerName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTokenIssuerName
public void setTokenIssuerName(java.lang.String TokenIssuerName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTokenType
public java.lang.String getTokenType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTokenType
public void setTokenType(java.lang.String TokenType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-