Welcome to mirror list, hosted at ThFree Co, Russian Federation.

JcaPKCS8EncryptedPrivateKeyInfoBuilder.java « jcajce « pkcs « spongycastle « org « java « main « src « pkix - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f8a5856c8f0a7ae3dfe941bebadb700e1461d09b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.spongycastle.pkcs.jcajce;

import java.security.PrivateKey;

import org.spongycastle.asn1.pkcs.PrivateKeyInfo;
import org.spongycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder;

public class JcaPKCS8EncryptedPrivateKeyInfoBuilder
    extends PKCS8EncryptedPrivateKeyInfoBuilder
{
    public JcaPKCS8EncryptedPrivateKeyInfoBuilder(PrivateKey privateKey)
    {
         super(PrivateKeyInfo.getInstance(privateKey.getEncoded()));
    }
}