edu.vt.middleware.crypt.x509.types
Class NoticeReference

java.lang.Object
  extended by edu.vt.middleware.crypt.x509.types.NoticeReference

public class NoticeReference
extends Object

Representation of the NoticeReference type defined in section 4.2.1.5 of RFC 2459.

Version:
$Revision: 427 $
Author:
Middleware Services

Constructor Summary
NoticeReference(String org, int[] numbers)
          Creates a new notice reference with the supplied parameters.
 
Method Summary
 boolean equals(Object obj)
          
 int[] getNoticeNumbers()
           
 String getOrganization()
           
 int hashCode()
          
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoticeReference

public NoticeReference(String org,
                       int[] numbers)
Creates a new notice reference with the supplied parameters.

Parameters:
org - Organization name.
numbers - Notice numbers that typically identify locations in a referenced document belonging to the organization.
Method Detail

getOrganization

public String getOrganization()
Returns:
Organization name associated with the reference.

getNoticeNumbers

public int[] getNoticeNumbers()
Returns:
Array of integers that typically identify locations in a document belonging to the organization. A common use case is for application software to display the blocks of text from a referenced document at locations specified by this field.

toString

public String toString()
Overrides:
toString in class Object
Returns:
Tuple of the organization name and notice numbers.

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object


Copyright © 2003-2011 Virginia Tech. All Rights Reserved.