public static X509Certificate toCertificate( String x509PemString ) {
<BUG>return PEMFiles.getCert( B64.standard.dec( x509PemString ) );
</BUG>
}
public static String fromKeyPair( KeyPair keyPair ) {
<BUG>return B64.standard.encString( PEMFiles.getBytes( keyPair ) );
</BUG>
}
public static KeyPair toKeyPair( String keyPairB64PemString ) {
<BUG>return PEMFiles.getKeyPair( B64.standard.dec( keyPairB64PemString ) );
</BUG>
}

public static X509Certificate toCertificate( String x509PemString ) {
return PEMFiles.getCert( B64.url.dec( x509PemString ) );
}
public static String fromKeyPair( KeyPair keyPair ) {
return B64.url.encString( PEMFiles.getBytes( keyPair ) );
}
public static KeyPair toKeyPair( String keyPairB64PemString ) {
return PEMFiles.getKeyPair( B64.url.dec( keyPairB64PemString ) );
}
