Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.security.cert.X509Certificate;

import javax.security.auth.x500.X500Principal;

public class Main {
    protected static X500Principal getEncodedIssuerPrincipal(X509Certificate cert) {
        return cert.getIssuerX500Principal();
    }
}