-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
cc4c324
commit 14f62f8
Showing
5 changed files
with
134 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/org/jenkinsci/plugins/gwt/global/WhitelistAlgorithm.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.jenkinsci.plugins.gwt.global; | ||
|
||
public enum WhitelistAlgorithm { | ||
HMAC_MD5("HmacMD5", "md5"), | ||
HMAC_SHA1("HmacSHA1", "sha1"), | ||
HMAC_SHA256("HmacSHA256", "sha256"); | ||
|
||
private String fullName; | ||
private String algorithm; | ||
|
||
WhitelistAlgorithm(final String fullName, final String algorithm) { | ||
this.fullName = fullName; | ||
this.algorithm = algorithm; | ||
} | ||
|
||
public String getFullName() { | ||
return this.fullName; | ||
} | ||
|
||
public String getAlgorithm() { | ||
return this.algorithm; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters