Android
javax.crypto
public class

javax.crypto.EncryptedPrivateKeyInfo

java.lang.Object
javax.crypto.EncryptedPrivateKeyInfo

Summary

Public Constructors

            EncryptedPrivateKeyInfo(byte[] encoded)
            EncryptedPrivateKeyInfo(String encrAlgName, byte[] encryptedData)
            EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)

Public Methods

          String  getAlgName()
          AlgorithmParameters  getAlgParameters()
          byte[]  getEncoded()
          byte[]  getEncryptedData()
          PKCS8EncodedKeySpec  getKeySpec(Key decryptKey, String providerName)
          PKCS8EncodedKeySpec  getKeySpec(Key decryptKey, Provider provider)
          PKCS8EncodedKeySpec  getKeySpec(Cipher cipher)
          PKCS8EncodedKeySpec  getKeySpec(Key decryptKey)
Methods inherited from class java.lang.Object

Details

Public Constructors

public EncryptedPrivateKeyInfo(byte[] encoded)

Throws

IOException

public EncryptedPrivateKeyInfo(String encrAlgName, byte[] encryptedData)

public EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] encryptedData)

Public Methods

public String getAlgName()

public AlgorithmParameters getAlgParameters()

public byte[] getEncoded()

Throws

IOException

public byte[] getEncryptedData()

public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, Provider provider)

public PKCS8EncodedKeySpec getKeySpec(Cipher cipher)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48