
edu.uiuc.ncsa.security.util.crypto.MyPKCS10CertRequest Maven / Gradle / Ivy
The newest version!
package edu.uiuc.ncsa.security.util.crypto;
import java.security.PublicKey;
/**
* This fronts a PKCS 10 certification request. Since there are many implementations, some much
* more finicky than others, this will let users choose which they should use.
* Created by Jeff Gaynor
* on 10/16/13 at 10:46 AM
*/
public abstract class MyPKCS10CertRequest {
/**
* Get this as a DER encoded byte array.
* @return
*/
abstract public byte[] getEncoded();
/**
* Return the current public key
* @return
*/
abstract public PublicKey getPublicKey();
/**
* Get the CN (Common Name) for this cert request.
* @return
*/
abstract public String getCN();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy