VCardSecurity

Inheritance: java.lang.Object

public final class VCardSecurity

Represents a vCard security properties

Constructors

ConstructorDescription
VCardSecurity()Initializes a new instance of the VCardSecurity class

Methods

MethodDescription
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)
getType()Gets or sets type of public key.
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)
setType(String value)Gets or sets type of public key.
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:

ParameterTypeDescription
arg0java.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

getType()

public final String getType()

Gets or sets type of public key.

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:

ParameterTypeDescription
streamjava.io.OutputStreamStream to save.

saveToPEM(String path)

public final void saveToPEM(String path)

Saves base64 key to PEM format.

Parameters:

ParameterTypeDescription
pathjava.lang.StringPath to file.

setAccessClass(String value)

public final void setAccessClass(String value)

Gets or sets an access class

Parameters:

ParameterTypeDescription
valuejava.lang.String

setEncoding(int value)

public final void setEncoding(int value)

Gets or sets a ContentTransferEncoding

Parameters:

ParameterTypeDescription
valueint

setKey(String value)

public final void setKey(String value)

Gets or sets a public key(or authentication certificate)

Parameters:

ParameterTypeDescription
valuejava.lang.String

setType(String value)

public final void setType(String value)

Gets or sets type of public key.

Parameters:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int