Keygen | Intellij 'link'

// After signing, update the algorithm ID to the actual signature algorithm algId = (AlgorithmId) cert.get(X509CertImpl.SIG_ALG); info.set(CertificateAlgorithmId.NAME + "." + CertificateAlgorithmId.ALGORITHM, algId); cert = new X509CertImpl(info); cert.sign(keyPair.getPrivate(), sigAlg); return cert;

public class AesKeyGen

public final class CertificateGenerator

import javax.crypto.*; import java.security.SecureRandom; keygen intellij