Skip to content

Commit

Permalink
Fix incorrect comments. (#12754)
Browse files Browse the repository at this point in the history
* Fix incorrect comments. Looks like the comments were copied over from KeyOperation and the type name was fixed but the values weren't

* Fix more comments

* Address feedback
  • Loading branch information
saurabh500 authored Jul 10, 2020
1 parent 2892a1e commit 989bb8a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
public final class KeyWrapAlgorithm extends ExpandableStringEnum<KeyWrapAlgorithm> {

/**
* Static value Encrypt for KeyWrapAlgorithm.
* Static value RSA-OAEP for KeyWrapAlgorithm.
*/
public static final KeyWrapAlgorithm RSA_OAEP = fromString("RSA-OAEP");

/**
* Static value Decrypt for KeyWrapAlgorithm.
* Static value RSA-OAEP-256 for KeyWrapAlgorithm.
*/
public static final KeyWrapAlgorithm RSA_OAEP_256 = fromString("RSA-OAEP-256");

/**
* Static value Sign for KeyWrapAlgorithm.
* Static value RSA1_5 for KeyWrapAlgorithm.
*/
public static final KeyWrapAlgorithm RSA1_5 = fromString("RSA1_5");

/**
* Static value Verify for KeyWrapAlgorithm.
* Static value A192KW for KeyWrapAlgorithm.
*/
public static final KeyWrapAlgorithm A192KW = fromString("A192KW");

/**
* Static value Wrap Key for KeyWrapAlgorithm.
* Static value A128KW for KeyWrapAlgorithm.
*/
public static final KeyWrapAlgorithm A128KW = fromString("A128KW");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,52 +15,52 @@
public final class SignatureAlgorithm extends ExpandableStringEnum<SignatureAlgorithm> {

/**
* Static value RSA_OAEP for SignatureAlgorithm.
* Static value PS256 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm PS256 = fromString("PS256");

/**
* Static value RSA_OAEP_256 for SignatureAlgorithm.
* Static value PS384 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm PS384 = fromString("PS384");

/**
* Static value RSA1_5 for SignatureAlgorithm.
* Static value PS512 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm PS512 = fromString("PS512");

/**
* Static value A256CBC_HS512 for SignatureAlgorithm.
* Static value RS256 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm RS256 = fromString("RS256");

/**
* Static value A128CBC_HS256 for SignatureAlgorithm.
* Static value RS384 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm RS384 = fromString("RS384");

/**
* Static value A192CBC_HS384 for SignatureAlgorithm.
* Static value RS512 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm RS512 = fromString("RS512");

/**
* Static value A256CBC for SignatureAlgorithm.
* Static value ES256 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm ES256 = fromString("ES256");

/**
* Static value A192CBC for SignatureAlgorithm.
* Static value ES384 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm ES384 = fromString("ES384");

/**
* Static value A128CBC for SignatureAlgorithm.
* Static value ES512 for SignatureAlgorithm.
*/
public static final SignatureAlgorithm ES512 = fromString("ES512");

/**
* Static value A128CBC for SignatureAlgorithm.
* Static value ES256K for SignatureAlgorithm.
*/
public static final SignatureAlgorithm ES256K = fromString("ES256K");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
public final class KeyType extends ExpandableStringEnum<KeyType> {

/**
* Static value Encrypt for KeyType.
* Static value EC for KeyType.
*/
public static final KeyType EC = fromString("EC");

/**
* Static value Decrypt for KeyType.
* Static value EC-HSM for KeyType.
*/
public static final KeyType EC_HSM = fromString("EC-HSM");

/**
* Static value Sign for KeyType.
* Static value RSA for KeyType.
*/
public static final KeyType RSA = fromString("RSA");

/**
* Static value Verify for KeyType.
* Static value RSA-HSM for KeyType.
*/
public static final KeyType RSA_HSM = fromString("RSA-HSM");

/**
* Static value Wrap Key for KeyType.
* Static value oct for KeyType.
*/
public static final KeyType OCT = fromString("oct");

Expand Down

0 comments on commit 989bb8a

Please sign in to comment.