java.lang.Object
org.eclipse.milo.opcua.sdk.client.identity.X509IdentityProvider
All Implemented Interfaces:
IdentityProvider

public class X509IdentityProvider extends Object implements IdentityProvider
  • Constructor Details

  • Method Details

    • getIdentityToken

      public SignedIdentityToken getIdentityToken(org.eclipse.milo.opcua.stack.core.types.structured.EndpointDescription endpoint, org.eclipse.milo.opcua.stack.core.types.builtin.ByteString serverNonce) throws Exception
      Description copied from interface: IdentityProvider
      Return the UserIdentityToken and SignatureData (if applicable for the token) to use when activating a session.
      Specified by:
      getIdentityToken in interface IdentityProvider
      Parameters:
      endpoint - the EndpointDescription being connected to.
      Returns:
      a SignedIdentityToken containing the UserIdentityToken and SignatureData.
      Throws:
      Exception