Code example for X500Principal

Methods: getEncodedtoString

0
     * Name types are represented using the constant OID tag name values defined in {@link X509Util}. 
     *  
     *  
     * @return the modifiable set of alt name identifiers 
     */ 
    public Set<Integer> getSubjectAltNameTypes() {
        return subjectAltNameTypes;
    } 
 
    /** 
     * Gets whether to check the credential's entity certificate subject alt names against the trusted key 
     * name values. 
     *  
     * @return whether to check the credential's entity certificate subject alt names against the trusted key 
     *         names 
     */ 
    public boolean checkSubjectAltNames() { 
        return checkSubjectAltNames;
    } 
 
    /**