VCardSecurity

Inheritance: java.lang.Object

public final class VCardSecurity

Represents a vCard security properties

Constructors

Constructor Description
VCardSecurity() Initializes a new instance of the VCardSecurity class

Methods

Method Description
equals(Object arg0)
getAccessClass() Gets or sets an access class
getClass()
getEncoding() Gets or sets a ContentTransferEncoding
getKey() Gets or sets a public key(or authentication certificate)
hashCode()
notify()
notifyAll()
saveToPEM(OutputStream stream) Saves base64 key in PEM format to the stream.
saveToPEM(String path) Saves base64 key to PEM format.
setAccessClass(String value) Gets or sets an access class
setEncoding(int value) Gets or sets a ContentTransferEncoding
setKey(String value) Gets or sets a public key(or authentication certificate)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

VCardSecurity()

public VCardSecurity()

Initializes a new instance of the VCardSecurity class

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getAccessClass()

public final String getAccessClass()

Gets or sets an access class

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEncoding()

public final int getEncoding()

Gets or sets a ContentTransferEncoding

Returns: int

getKey()

public final String getKey()

Gets or sets a public key(or authentication certificate)

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

saveToPEM(OutputStream stream)

public final void saveToPEM(OutputStream stream)

Saves base64 key in PEM format to the stream.

Parameters:

Parameter Type Description
stream java.io.OutputStream Stream to save.

saveToPEM(String path)

public final void saveToPEM(String path)

Saves base64 key to PEM format.

Parameters:

Parameter Type Description
path java.lang.String Path to file.

setAccessClass(String value)

public final void setAccessClass(String value)

Gets or sets an access class

Parameters:

Parameter Type Description
value java.lang.String

setEncoding(int value)

public final void setEncoding(int value)

Gets or sets a ContentTransferEncoding

Parameters:

Parameter Type Description
value int

setKey(String value)

public final void setKey(String value)

Gets or sets a public key(or authentication certificate)

Parameters:

Parameter Type Description
value java.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int