blob: 09071ef794904844c0a0883fc75df1a4a7cd01cb [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_01) on Tue Feb 01 22:35:05 PST 2005 -->
<TITLE>
GUID
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.ecf.core.identity.GUID class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="GUID";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GUID.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/eclipse/ecf/core/identity/BaseID.html" title="class in org.eclipse.ecf.core.identity"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.Creator.html" title="class in org.eclipse.ecf.core.identity"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/eclipse/ecf/core/identity/GUID.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="GUID.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.eclipse.ecf.core.identity</FONT>
<BR>
Class GUID</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/eclipse/ecf/core/identity/BaseID.html" title="class in org.eclipse.ecf.core.identity">org.eclipse.ecf.core.identity.BaseID</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html" title="class in org.eclipse.ecf.core.identity">org.eclipse.ecf.core.identity.StringID</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.ecf.core.identity.GUID</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Comparable, java.security.Principal, <A HREF="../../../../../org/eclipse/ecf/core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>GUID</B><DT>extends <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html" title="class in org.eclipse.ecf.core.identity">StringID</A></DL>
</PRE>
<P>
Globally unique ID implementation class. Uses
<CODE>SecureRandom</CODE>to create a unique number of given byte
length. Default byte length for secure number is 20 bytes. Default algorithm
used for creating a SecureRandom instance is SHA1PRNG.
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.eclipse.ecf.core.identity.GUID">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.Creator.html" title="class in org.eclipse.ecf.core.identity">GUID.Creator</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#DEFAULT_BYTE_LENGTH">DEFAULT_BYTE_LENGTH</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#GUID_INSTANTIATOR_CLASS">GUID_INSTANTIATOR_CLASS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#GUID_NAME">GUID_NAME</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;java.security.SecureRandom</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#random">random</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#SR_DEFAULT_ALGO">SR_DEFAULT_ALGO</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#SR_DEFAULT_PROVIDER">SR_DEFAULT_PROVIDER</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.eclipse.ecf.core.identity.StringID"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.eclipse.ecf.core.identity.<A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html" title="class in org.eclipse.ecf.core.identity">StringID</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#STRINGID_INSTANTIATOR_CLASS">STRINGID_INSTANTIATOR_CLASS</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#STRINGID_NAME">STRINGID_NAME</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#value">value</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#GUID(org.eclipse.ecf.core.identity.Namespace)">GUID</A></B>(<A HREF="../../../../../org/eclipse/ecf/core/identity/Namespace.html" title="class in org.eclipse.ecf.core.identity">Namespace</A>&nbsp;n)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#GUID(org.eclipse.ecf.core.identity.Namespace, int)">GUID</A></B>(<A HREF="../../../../../org/eclipse/ecf/core/identity/Namespace.html" title="class in org.eclipse.ecf.core.identity">Namespace</A>&nbsp;n,
int&nbsp;byteLength)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#GUID(org.eclipse.ecf.core.identity.Namespace, java.lang.String, java.lang.String, int)">GUID</A></B>(<A HREF="../../../../../org/eclipse/ecf/core/identity/Namespace.html" title="class in org.eclipse.ecf.core.identity">Namespace</A>&nbsp;n,
java.lang.String&nbsp;algo,
java.lang.String&nbsp;provider,
int&nbsp;byteLength)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protected constructor for factory-based construction</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;java.security.SecureRandom</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#getRandom(java.lang.String, java.lang.String)">getRandom</A></B>(java.lang.String&nbsp;algo,
java.lang.String&nbsp;provider)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get SecureRandom instance for creation of random number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#initializeRandom(java.lang.String, java.lang.String)">initializeRandom</A></B>(java.lang.String&nbsp;algo,
java.lang.String&nbsp;provider)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.html#toString()">toString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.ecf.core.identity.StringID"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.eclipse.ecf.core.identity.<A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html" title="class in org.eclipse.ecf.core.identity">StringID</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#getName()">getName</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#getNamespace()">getNamespace</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#hashCode()">hashCode</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#namespaceCompareTo(org.eclipse.ecf.core.identity.BaseID)">namespaceCompareTo</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#namespaceEquals(org.eclipse.ecf.core.identity.BaseID)">namespaceEquals</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#namespaceGetName()">namespaceGetName</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#namespaceHashCode()">namespaceHashCode</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#namespaceToURI()">namespaceToURI</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#setEmptyNamespace()">setEmptyNamespace</A>, <A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#toURI()">toURI</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="SR_DEFAULT_ALGO"><!-- --></A><H3>
SR_DEFAULT_ALGO</H3>
<PRE>
public static final java.lang.String <B>SR_DEFAULT_ALGO</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="SR_DEFAULT_PROVIDER"><!-- --></A><H3>
SR_DEFAULT_PROVIDER</H3>
<PRE>
public static final java.lang.String <B>SR_DEFAULT_PROVIDER</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="DEFAULT_BYTE_LENGTH"><!-- --></A><H3>
DEFAULT_BYTE_LENGTH</H3>
<PRE>
public static final int <B>DEFAULT_BYTE_LENGTH</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.ecf.core.identity.GUID.DEFAULT_BYTE_LENGTH">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="GUID_NAME"><!-- --></A><H3>
GUID_NAME</H3>
<PRE>
public static final java.lang.String <B>GUID_NAME</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="GUID_INSTANTIATOR_CLASS"><!-- --></A><H3>
GUID_INSTANTIATOR_CLASS</H3>
<PRE>
public static final java.lang.String <B>GUID_INSTANTIATOR_CLASS</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="random"><!-- --></A><H3>
random</H3>
<PRE>
protected static transient java.security.SecureRandom <B>random</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="GUID(org.eclipse.ecf.core.identity.Namespace, java.lang.String, java.lang.String, int)"><!-- --></A><H3>
GUID</H3>
<PRE>
protected <B>GUID</B>(<A HREF="../../../../../org/eclipse/ecf/core/identity/Namespace.html" title="class in org.eclipse.ecf.core.identity">Namespace</A>&nbsp;n,
java.lang.String&nbsp;algo,
java.lang.String&nbsp;provider,
int&nbsp;byteLength)
throws <A HREF="../../../../../org/eclipse/ecf/core/identity/IDInstantiationException.html" title="class in org.eclipse.ecf.core.identity">IDInstantiationException</A></PRE>
<DL>
<DD>Protected constructor for factory-based construction
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - the Namespace this identity will belong to<DD><CODE>provider</CODE> - the name of the algorithm to use. See <CODE>SecureRandom</CODE><DD><CODE>byteLength</CODE> - the length of the target number (in bytes)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/eclipse/ecf/core/identity/IDInstantiationException.html" title="class in org.eclipse.ecf.core.identity">IDInstantiationException</A></CODE></DL>
</DL>
<HR>
<A NAME="GUID(org.eclipse.ecf.core.identity.Namespace, int)"><!-- --></A><H3>
GUID</H3>
<PRE>
protected <B>GUID</B>(<A HREF="../../../../../org/eclipse/ecf/core/identity/Namespace.html" title="class in org.eclipse.ecf.core.identity">Namespace</A>&nbsp;n,
int&nbsp;byteLength)
throws <A HREF="../../../../../org/eclipse/ecf/core/identity/IDInstantiationException.html" title="class in org.eclipse.ecf.core.identity">IDInstantiationException</A></PRE>
<DL>
<DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/eclipse/ecf/core/identity/IDInstantiationException.html" title="class in org.eclipse.ecf.core.identity">IDInstantiationException</A></CODE></DL>
</DL>
<HR>
<A NAME="GUID(org.eclipse.ecf.core.identity.Namespace)"><!-- --></A><H3>
GUID</H3>
<PRE>
protected <B>GUID</B>(<A HREF="../../../../../org/eclipse/ecf/core/identity/Namespace.html" title="class in org.eclipse.ecf.core.identity">Namespace</A>&nbsp;n)
throws <A HREF="../../../../../org/eclipse/ecf/core/identity/IDInstantiationException.html" title="class in org.eclipse.ecf.core.identity">IDInstantiationException</A></PRE>
<DL>
<DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/eclipse/ecf/core/identity/IDInstantiationException.html" title="class in org.eclipse.ecf.core.identity">IDInstantiationException</A></CODE></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getRandom(java.lang.String, java.lang.String)"><!-- --></A><H3>
getRandom</H3>
<PRE>
protected static java.security.SecureRandom <B>getRandom</B>(java.lang.String&nbsp;algo,
java.lang.String&nbsp;provider)
throws java.lang.Exception</PRE>
<DL>
<DD>Get SecureRandom instance for creation of random number.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>algo</CODE> - the String algorithm specification (e.g. "SHA1PRNG") for
creation of the SecureRandom instance<DD><CODE>provider</CODE> - the provider of the implementation of the given algorighm
(e.g. "SUN")
<DT><B>Returns:</B><DD>SecureRandom
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE> - thrown if SecureRandom instance cannot be created/accessed</DL>
</DD>
</DL>
<HR>
<A NAME="initializeRandom(java.lang.String, java.lang.String)"><!-- --></A><H3>
initializeRandom</H3>
<PRE>
protected static void <B>initializeRandom</B>(java.lang.String&nbsp;algo,
java.lang.String&nbsp;provider)
throws java.lang.Exception</PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>toString</CODE> in interface <CODE>java.security.Principal</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../../org/eclipse/ecf/core/identity/StringID.html" title="class in org.eclipse.ecf.core.identity">StringID</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static final void <B>main</B>(java.lang.String[]&nbsp;args)
throws java.lang.Exception</PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GUID.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/eclipse/ecf/core/identity/BaseID.html" title="class in org.eclipse.ecf.core.identity"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/eclipse/ecf/core/identity/GUID.Creator.html" title="class in org.eclipse.ecf.core.identity"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/eclipse/ecf/core/identity/GUID.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="GUID.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>