FileDocCategorySizeDatePackage
Credentials.javaAPI DocAndroid 1.5 API1339Wed May 06 22:41:54 BST 2009android.net

Credentials

public class Credentials extends Object
A class for representing UNIX credentials passed via ancillary data on UNIX domain sockets. See "man 7 unix" on a desktop linux distro.

Fields Summary
private final int
pid
pid of process. root peers may lie.
private final int
uid
uid of process. root peers may lie.
private final int
gid
gid of process. root peers may lie.
Constructors Summary
public Credentials(int pid, int uid, int gid)

        this.pid = pid;
        this.uid = uid;
        this.gid = gid;
    
Methods Summary
public intgetGid()

        return gid;
    
public intgetPid()

        return pid;
    
public intgetUid()

        return uid;