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

CertificateStub

public class CertificateStub extends Object implements Certificate
Stub for interface Certificate, necessary for testing

Fields Summary
String
format
Principal
guarantor
Principal
principal
PublicKey
key
Constructors Summary
public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key)

        this.format = format;
        this.guarantor = guarantor;
        this.principal = principal;
        this.key = key;
    
Methods Summary
public voiddecode(java.io.InputStream stream)
Stub - does nothing

see
java.security.Certificate#decode(java.io.InputStream)



    
public voidencode(java.io.OutputStream stream)
Stub - does nothing

see
java.security.Certificate#encode(java.io.OutputStream)



    
public java.lang.StringgetFormat()

see
java.security.Certificate#getFormat()


        return format;
    
public java.security.PrincipalgetGuarantor()

see
java.security.Certificate#getGuarantor()


        return guarantor;
    
public java.security.PrincipalgetPrincipal()

see
java.security.Certificate#getPrincipal()

        return principal;
    
public java.security.PublicKeygetPublicKey()

see
java.security.Certificate#getPublicKey()

        return key;
    
public java.lang.StringtoString(boolean detailed)
Stub - returns null

see
java.security.Certificate#toString(boolean)

        return null;