Mac() — netty Function Reference
Architecture documentation for the Mac() function in Hmac.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0e4028c4_7d23_dcc3_8dc6_9ec7bd865208["Mac()"] 5bd1a483_27e1_6efa_e106_4fe3575fc3d0["Hmac"] 0e4028c4_7d23_dcc3_8dc6_9ec7bd865208 -->|defined in| 5bd1a483_27e1_6efa_e106_4fe3575fc3d0 style 0e4028c4_7d23_dcc3_8dc6_9ec7bd865208 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Hmac.java lines 44–53
private static Mac newMac() {
try {
SecretKeySpec keySpec = new SecretKeySpec(randomKey, ALGORITM);
Mac mac = Mac.getInstance(ALGORITM);
mac.init(keySpec);
return mac;
} catch (NoSuchAlgorithmException | InvalidKeyException exception) {
throw new IllegalStateException(exception);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Mac() do?
Mac() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Hmac.java.
Where is Mac() defined?
Mac() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Hmac.java at line 44.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free