HomeSort by relevance Sort by last modified time
    Searched defs:PrivateKey (Results 1 - 25 of 38) sorted by null

1 2

  /libcore/ojluni/src/main/java/java/security/
PrivateKey.java 42 * Finally, since {@code PrivateKey} is {@code Serializable}, implementations
59 public interface PrivateKey extends Key, javax.security.auth.Destroyable {
  /external/boringssl/src/ssl/test/runner/ed25519/
ed25519.go 39 // PrivateKey is the type of Ed25519 private keys. It implements crypto.Signer.
40 type PrivateKey []byte
43 func (priv PrivateKey) Public() crypto.PublicKey {
54 func (priv PrivateKey) Sign(rand io.Reader, message []byte, opts crypto.SignerOpts) (signature []byte, err error) {
64 func GenerateKey(rand io.Reader) (publicKey PublicKey, privateKey PrivateKey, err error) {
75 publicKey, privateKey = NewKeyPairFromSeed(seed[:])
76 return publicKey, privateKey, nil
81 func NewKeyPairFromSeed(seed []byte) (publicKey PublicKey, privateKey PrivateKey) {
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/dsa/
dsa.go 28 // PrivateKey represents a DSA private key.
29 type PrivateKey struct {
150 // PrivateKey must already be valid (see GenerateParameters).
151 func GenerateKey(priv *PrivateKey, rand io.Reader) error {
195 // Be aware that calling Sign with an attacker-controlled PrivateKey may
197 func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
  /prebuilts/go/linux-x86/src/crypto/dsa/
dsa.go 28 // PrivateKey represents a DSA private key.
29 type PrivateKey struct {
150 // PrivateKey must already be valid (see GenerateParameters).
151 func GenerateKey(priv *PrivateKey, rand io.Reader) error {
195 // Be aware that calling Sign with an attacker-controlled PrivateKey may
197 func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
  /prebuilts/go/darwin-x86/src/crypto/ecdsa/
ecdsa.go 52 // PrivateKey represents an ECDSA private key.
53 type PrivateKey struct {
63 func (priv *PrivateKey) Public() crypto.PublicKey {
74 func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
103 func GenerateKey(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
109 priv := new(PrivateKey)
154 func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
  /prebuilts/go/linux-x86/src/crypto/ecdsa/
ecdsa.go 52 // PrivateKey represents an ECDSA private key.
53 type PrivateKey struct {
63 func (priv *PrivateKey) Public() crypto.PublicKey {
74 func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
103 func GenerateKey(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
109 priv := new(PrivateKey)
154 func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
  /prebuilts/go/darwin-x86/src/crypto/
crypto.go 110 // PrivateKey represents a private key using an unspecified algorithm.
111 type PrivateKey interface{}
  /prebuilts/go/darwin-x86/src/crypto/rsa/
rsa.go 19 // over the public-key primitive, the PrivateKey struct implements the
79 // A PrivateKey represents an RSA key
80 type PrivateKey struct {
91 func (priv *PrivateKey) Public() crypto.PublicKey {
102 func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
113 func (priv *PrivateKey) Decrypt(rand io.Reader, ciphertext []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error) {
161 func (priv *PrivateKey) Validate() error {
199 func GenerateKey(random io.Reader, bits int) (*PrivateKey, error) {
214 func GenerateMultiPrimeKey(random io.Reader, nprimes int, bits int) (*PrivateKey, error) {
215 priv := new(PrivateKey)
    [all...]
  /prebuilts/go/linux-x86/src/crypto/
crypto.go 110 // PrivateKey represents a private key using an unspecified algorithm.
111 type PrivateKey interface{}
  /prebuilts/go/linux-x86/src/crypto/rsa/
rsa.go 19 // over the public-key primitive, the PrivateKey struct implements the
79 // A PrivateKey represents an RSA key
80 type PrivateKey struct {
91 func (priv *PrivateKey) Public() crypto.PublicKey {
102 func (priv *PrivateKey) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error) {
113 func (priv *PrivateKey) Decrypt(rand io.Reader, ciphertext []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error) {
161 func (priv *PrivateKey) Validate() error {
199 func GenerateKey(random io.Reader, bits int) (*PrivateKey, error) {
214 func GenerateMultiPrimeKey(random io.Reader, nprimes int, bits int) (*PrivateKey, error) {
215 priv := new(PrivateKey)
    [all...]
  /prebuilts/tools/common/mkidentity/
mkidentity-prebuilt.jar 
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
wincrypt.h     [all...]
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.1.2_r1-robolectric-r1.jar 
android-all-4.2.2_r1.2-robolectric-r1.jar 
android-all-4.3_r2-robolectric-r1.jar 
android-all-4.4_r1-robolectric-r2.jar 
android-all-5.0.2_r3-robolectric-r0.jar 
android-all-5.1.1_r9-robolectric-r2.jar 
android-all-6.0.1_r3-robolectric-0.jar 
android-all-6.0.1_r3-robolectric-r1.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/20/
android.jar 

Completed in 1887 milliseconds

1 2