|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.Server.EncryptionAlgorithm
public static final class Server.EncryptionAlgorithm
This class provides a convenient place to refer to the different encryption algorithms that can be used for secure StarTeam connections. This class is used by various encryption methods on the connection and server objects.
| Field Summary | |
|---|---|
static Server.EncryptionAlgorithm[] |
ALL
All legal EncryptionAlgorithm values. |
static Server.EncryptionAlgorithm |
NULL
Specifies that no encryption be used. |
static Server.EncryptionAlgorithm |
RC2_CBC
Use RC2 block cipher in Cipher Block Chaining mode. |
static Server.EncryptionAlgorithm |
RC2_CFB
Use RC2 block cipher in Cipher Feedback mode. |
static Server.EncryptionAlgorithm |
RC2_ECB
Use RC2 block cipher in Electronic Codebook mode. |
static Server.EncryptionAlgorithm |
RC4
Use the RC4 stream cipher. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object another)
Returns true if the specified Object identifies the same
exact EncryptionAlgorithm. |
static Server.EncryptionAlgorithm |
fromID(int id)
Gets the EncryptionAlgorithm value corresponding to the given ID. |
int |
getCode()
Return the enum code for this object. |
java.lang.String |
getDisplayName()
Returns the display name of the Encryption Algorithm. |
int |
getID()
|
java.lang.String |
getName()
Returns a internal name of the encryption algorithm. |
int |
hashCode()
returns the hash code for this Encryption Algorithm |
static Server.EncryptionAlgorithm |
maxSecurity(Server.EncryptionAlgorithm algA,
Server.EncryptionAlgorithm algB)
Given two security algorithms return the maximum of the two. |
java.lang.String |
toString()
Returns a string representation of the encryption algorithm. |
| Methods inherited from class com.starteam.EnumeratedValue |
|---|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayNameTranslations, getInternalName, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrder |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Server.EncryptionAlgorithm NULL
public static final Server.EncryptionAlgorithm RC4
public static final Server.EncryptionAlgorithm RC2_ECB
public static final Server.EncryptionAlgorithm RC2_CBC
public static final Server.EncryptionAlgorithm RC2_CFB
public static final Server.EncryptionAlgorithm[] ALL
| Method Detail |
|---|
public int getID()
public int getCode()
getCode in class EnumeratedValue
public static Server.EncryptionAlgorithm maxSecurity(Server.EncryptionAlgorithm algA,
Server.EncryptionAlgorithm algB)
algA - the first security algorithmalgB - the second security algorithm
public static Server.EncryptionAlgorithm fromID(int id)
id - The ID of an EncryptionAlgorithm value.
public java.lang.String getName()
public java.lang.String getDisplayName()
getDisplayName in class EnumeratedValuepublic java.lang.String toString()
toString in class EnumeratedValuepublic boolean equals(java.lang.Object another)
Object identifies the same
exact EncryptionAlgorithm.
equals in class EnumeratedValueanother - the object to be compared to for equality
public int hashCode()
hashCode in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||