Home / Type/ ExtendedKeyUsage Type — netty Architecture

ExtendedKeyUsage Type — netty Architecture

Architecture documentation for the ExtendedKeyUsage type/interface in CertificateBuilder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6e7e2a1d_e85b_d552_d5e7_4b53845c5cd2["ExtendedKeyUsage"]
  5f01b946_c84e_64ab_9bff_c20e1d44105f["CertificateBuilder.java"]
  6e7e2a1d_e85b_d552_d5e7_4b53845c5cd2 -->|defined in| 5f01b946_c84e_64ab_9bff_c20e1d44105f
  style 6e7e2a1d_e85b_d552_d5e7_4b53845c5cd2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

pkitesting/src/main/java/io/netty/pkitesting/CertificateBuilder.java lines 1286–1329

    public enum ExtendedKeyUsage {
        /**
         * The certificate can be used on the server-side of a TLS connection.
         */
        PKIX_KP_SERVER_AUTH(OID_PKIX_KP_SERVER_AUTH),
        /**
         * The certificate can be used on the client-side of a TLS connection.
         */
        PKIX_KP_CLIENT_AUTH(OID_PKIX_KP_CLIENT_AUTH),
        /**
         * The certificate can be used for code signing.
         */
        PKIX_KP_CODE_SIGNING(OID_PKIX_KP_CODE_SIGNING),
        /**
         * The certificate can be used for protecting email.
         */
        PKIX_KP_EMAIL_PROTECTION(OID_PKIX_KP_EMAIL_PROTECTION),
        /**
         * The certificate can be used for time-stamping.
         */
        PKIX_KP_TIME_STAMPING(OID_PKIX_KP_TIME_STAMPING),
        /**
         * The certificate can be used to sign OCSP replies.
         */
        PKIX_KP_OCSP_SIGNING(OID_PKIX_KP_OCSP_SIGNING),
        /**
         * The certificate can be used for Kerberos client authentication.
         */
        KERBEROS_KEY_PURPOSE_CLIENT_AUTH(OID_KERBEROS_KEY_PURPOSE_CLIENT_AUTH),
        /**
         * The certificate can be used for Microsoft smartcard logins.
         */
        MICROSOFT_SMARTCARD_LOGIN(OID_MICROSOFT_SMARTCARD_LOGIN);

        private final String oid;

        ExtendedKeyUsage(String oid) {
            this.oid = oid;
        }

        public String getOid() {
            return oid;
        }
    }

Frequently Asked Questions

What is the ExtendedKeyUsage type?
ExtendedKeyUsage is a type/interface in the netty codebase, defined in pkitesting/src/main/java/io/netty/pkitesting/CertificateBuilder.java.
Where is ExtendedKeyUsage defined?
ExtendedKeyUsage is defined in pkitesting/src/main/java/io/netty/pkitesting/CertificateBuilder.java at line 1286.

Analyze Your Own Codebase

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

Try Supermodel Free