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

IdentityScopeStub

public class IdentityScopeStub extends IdentityScope
This is stub implementation of IdentityScope for testing purposes

Fields Summary
Constructors Summary
public IdentityScopeStub()
Stub constructor

        super();
    
public IdentityScopeStub(String name)
Stub constructor

param
name

        super(name);
    
public IdentityScopeStub(String name, IdentityScope scope)
Stub constructor

param
name
param
scope
throws
KeyManagementException

        super(name, scope);
    
Methods Summary
public voidaddIdentity(java.security.Identity identity)
Stub - does nothing

see
java.security.IdentityScope#addIdentity(java.security.Identity)

        

    
public java.security.IdentitygetIdentity(java.lang.String name)
Stub - returns this

see
java.security.IdentityScope#getIdentity(java.lang.String)

        
        return this;
    
public java.security.IdentitygetIdentity(java.security.PublicKey key)
Stub - returns this

see
java.security.IdentityScope#getIdentity(java.security.PublicKey)

        return this;
    
public java.util.Enumerationidentities()
Stub - returns null

see
java.security.IdentityScope#identities()

        return null;
    
public static voidmySetSystemScope(java.security.IdentityScope scope)
Sets the system's identity scope

param
scope

        
        IdentityScope.setSystemScope(scope);
    
public voidremoveIdentity(java.security.Identity identity)
Stub - does nothing

see
java.security.IdentityScope#removeIdentity(java.security.Identity)

        

    
public intsize()
Stub - returns 0

see
java.security.IdentityScope#size()

        
        return 0;