import javax.crypto.EncryptedPrivateKeyInfo;

import org.bouncycastle.asn1.x500.X500Name;

public class TestAlgorithm {
    public static void main(String[] args) throws Exception {
        new X500Name("CN=Test");
        new EncryptedPrivateKeyInfo("PBEWithSHA1AndDESede", new byte[] { 0 });
        // Or use sun package directly.
        // sun.security.x509.AlgorithmId.get("PBEWithSHA1AndDESede");
    }
} 