FileDocCategorySizeDatePackage
PrivateKeyStub.javaAPI DocAndroid 1.5 API1960Wed May 06 22:41:06 BST 2009org.apache.harmony.security.tests.support

PrivateKeyStub

public class PrivateKeyStub extends Object implements PrivateKey
Stub for interface PrivateKey tests

Fields Summary
private static final long
serialVersionUID
String
algorithm
String
format
byte[]
encoded
Constructors Summary
public PrivateKeyStub(String algorithm, String format, byte[] encoded)
Constructor

param
algorithm
param
format
param
encoded

    
    
                 
           
        this.algorithm = algorithm;
        this.format = format;
        this.encoded = encoded;
    
Methods Summary
public java.lang.StringgetAlgorithm()
Returns algorithm

see
java.security.Key#getAlgorithm()

        return algorithm;
    
public byte[]getEncoded()
Returns encoded form

see
java.security.Key#getEncoded()

        return encoded;
    
public java.lang.StringgetFormat()
Returns format

see
java.security.Key#getFormat()

        return format;