Code example for X509Certificate

Methods: getExtensionValue

0
	/** 
	 * {@inheritDoc} 
	 */ 
    public byte[] getExtensionValue(String oid)
    { 
    	return internalCert.getExtensionValue(oid);
    } 
     
    /** 
     * Indicates if the certificate contains its private key. 
     * @return True if the certificate has access to its private key.  False otherwise. 
     */ 
    public boolean hasPrivateKey() 
    { 
    	return privKey != null;
    } 
     
    /** 
     * Gets the certificates private key. 
     * @return Gets the certificates private key. 
     */