File: KeyFactorySpi.java

package info (click to toggle)
bouncycastle 1.44%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 25,148 kB
  • ctags: 29,306
  • sloc: java: 277,890; xml: 1,881; sh: 974; makefile: 68
file content (24 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

package java.security;

import java.security.spec.InvalidKeySpecException;
import java.security.spec.KeySpec;

public abstract class KeyFactorySpi extends Object
{
    public KeyFactorySpi()
    {
    }

    protected abstract PrivateKey engineGeneratePrivate(KeySpec keySpec)
    throws InvalidKeySpecException;

    protected abstract PublicKey engineGeneratePublic(KeySpec keySpec)
    throws InvalidKeySpecException;

    protected abstract KeySpec engineGetKeySpec(Key key, Class keySpec)
    throws InvalidKeySpecException;

    protected abstract Key engineTranslateKey(Key key)
    throws InvalidKeyException;
}