public static final class Server.EncryptionAlgorithm extends EnumeratedValue
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayNameTranslations, getInternalName, getNameProperty, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrderpublic 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
public int getID()
public int getCode()
getCode in class EnumeratedValuepublic static Server.EncryptionAlgorithm maxSecurity(Server.EncryptionAlgorithm algA, Server.EncryptionAlgorithm algB)
algA - the first security algorithmalgB - the second security algorithmpublic static Server.EncryptionAlgorithm fromID(int id)
id - The ID of an EncryptionAlgorithm value.public java.lang.String getName()
getName in interface ArtifactCacheManager.NameablegetName in class EnumeratedValuepublic 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 equalitypublic int hashCode()
hashCode in class EnumeratedValueStarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.