* method documentation for more info
*/
public byte[] getEncoded(String encoding)
throws CertificateEncodingException {
if (!encodings.contains(encoding)) {
throw new CertificateEncodingException(
Messages.getString("security.15F", encoding)); //$NON-NLS-1$
}
if (encodingsArr[0].equals(encoding)) {
// PkiPath encoded form
return getEncoded();