package opc.ua.services;

import java.nio.channels.Channels;

public class OpenSecureChannel {

	/**
	 * request
	 */
	private RequestHeader requestHeader;
	private ApplicationInstanceCertificate clientCertificate;
	
	/**
	 * TODO - OPC UA Part 4, p.38
	 * This should be enum SecurityTokenRequestType
	 */
	private String requestType;
	
	private byte[] secureChannelId;
	private MessageSecurityMode securityMode;
	private String securityPolicyUri;
	private byte[] clientNonce;
	private long requestedLifetime;

	/**
	 * response
	 */
	private ResponseHeader responseHeader;
	private ChannelSecurityToken securityToken;
	  channelId
	  tokenId
	  createdAt
	  revisedLifetime
	serverNonce

}
