All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.venafi.vcert.sdk.policy.converter.tpp.AltName Maven / Gradle / Ivy

Go to download

VCert is a Java library, SDK, designed to simplify key generation and enrollment of machine identities (also known as SSL/TLS certificates and keys) that comply with enterprise security policy by using the Venafi Platform or Venafi Cloud.

There is a newer version: 0.9.3
Show newest version
package com.venafi.vcert.sdk.policy.converter.tpp;

import java.util.HashMap;
import java.util.Map;

public enum AltName {
    DNS("DNS"),
    IP("IP"),
    EMAIL("Email"),
    URI("URI"),
    UPN("UPN");

    private static final Map ENUMS = new HashMap();

    static {
        for (AltName altName : AltName.values())
            ENUMS.put(altName.value, altName);
    }

    public static AltName from(String value ){
        return ENUMS.get(value);
    }

    public final String value;

    AltName(String value){
        this.value = value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy