String() — netty Function Reference
Architecture documentation for the String() function in Algorithms.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3957707b_efe4_326e_4c73_20a688ee2d78["String()"] dcf50d07_6753_86d5_e2c9_9f306827a5a9["Algorithms"] 3957707b_efe4_326e_4c73_20a688ee2d78 -->|defined in| dcf50d07_6753_86d5_e2c9_9f306827a5a9 style 3957707b_efe4_326e_4c73_20a688ee2d78 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
pkitesting/src/main/java/io/netty/pkitesting/Algorithms.java lines 35–84
static String oidForAlgorithmName(String algorithmIdentifier) {
// See the Java Security Standard Algorithm Names documentation for names and links to RFCs.
// https://docs.oracle.com/en/java/javase/22/docs/specs/security/standard-names.html#signature-algorithms
switch (algorithmIdentifier.toLowerCase(Locale.ROOT)) {
case "sha256withecdsa":
return "1.2.840.10045.4.3.2";
case "sha384withecdsa":
return "1.2.840.10045.4.3.3";
case "sha256withrsa":
return "1.2.840.113549.1.1.11";
case "sha384withrsa":
return "1.2.840.113549.1.1.12";
case "ed25519":
return "1.3.101.112";
case "ed448":
return "1.3.101.113";
case "ml-dsa-44":
return "2.16.840.1.101.3.4.3.17";
case "ml-dsa-65":
return "2.16.840.1.101.3.4.3.18";
case "ml-dsa-87":
return "2.16.840.1.101.3.4.3.19";
case "slh-dsa-sha2-128s":
return "2.16.840.1.101.3.4.3.20";
case "slh-dsa-sha2-128f":
return "2.16.840.1.101.3.4.3.21";
case "slh-dsa-shake-128s":
return "2.16.840.1.101.3.4.3.22";
case "slh-dsa-shake-128f":
return "2.16.840.1.101.3.4.3.23";
case "slh-dsa-sha2-192s":
return "2.16.840.1.101.3.4.3.24";
case "slh-dsa-sha2-192f":
return "2.16.840.1.101.3.4.3.25";
case "slh-dsa-shake-192s":
return "2.16.840.1.101.3.4.3.26";
case "slh-dsa-shake-192f":
return "2.16.840.1.101.3.4.3.27";
case "slh-dsa-sha2-256s":
return "2.16.840.1.101.3.4.3.28";
case "slh-dsa-sha2-256f":
return "2.16.840.1.101.3.4.3.29";
case "slh-dsa-shake-256s":
return "2.16.840.1.101.3.4.3.30";
case "slh-dsa-shake-256f":
return "2.16.840.1.101.3.4.3.31";
default:
throw new UnsupportedOperationException("Algorithm not supported: " + algorithmIdentifier);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does String() do?
String() is a function in the netty codebase, defined in pkitesting/src/main/java/io/netty/pkitesting/Algorithms.java.
Where is String() defined?
String() is defined in pkitesting/src/main/java/io/netty/pkitesting/Algorithms.java at line 35.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free