Home / Function/ GeneralName() — netty Function Reference

GeneralName() — netty Function Reference

Architecture documentation for the GeneralName() function in GeneralNameUtils.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f20f086b_5521_7a1d_3736_ddc2ba613317["GeneralName()"]
  a98ec35c_c4a1_cd1b_32db_ba8571c54e7b["GeneralNameUtils"]
  f20f086b_5521_7a1d_3736_ddc2ba613317 -->|defined in| a98ec35c_c4a1_cd1b_32db_ba8571c54e7b
  style f20f086b_5521_7a1d_3736_ddc2ba613317 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

pkitesting/src/main/java/io/netty/pkitesting/GeneralNameUtils.java lines 40–50

    static GeneralName otherName(String oid, byte[] value) {
        try {
            DERSequence wrappedValue = new DERSequence(new ASN1Encodable[]{
                    new ASN1ObjectIdentifier(oid),
                    new DERTaggedObject(true, 0, ASN1Primitive.fromByteArray(value))
            });
            return new GeneralName(GeneralName.otherName, wrappedValue);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does GeneralName() do?
GeneralName() is a function in the netty codebase, defined in pkitesting/src/main/java/io/netty/pkitesting/GeneralNameUtils.java.
Where is GeneralName() defined?
GeneralName() is defined in pkitesting/src/main/java/io/netty/pkitesting/GeneralNameUtils.java at line 40.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free