public DistributionPointName(DerValue encoding) throws IOException {
  if (encoding.isContextSpecific(TAG_FULL_NAME) && encoding.isConstructed()) {
    encoding.resetTag(DerValue.tag_Sequence);
    fullName=new GeneralNames(encoding);
  }
 else   if (encoding.isContextSpecific(TAG_RELATIVE_NAME) && encoding.isConstructed()) {
    encoding.resetTag(DerValue.tag_Set);
    relativeName=new RDN(encoding);
  }
 else {
    throw new IOException("Invalid encoding for DistributionPointName");
  }
}

public DistributionPointName ( DerValue encoding ) throws IOException { if ( encoding . isContextSpecific ( TAG_FULL_NAME ) && encoding . isConstructed ( ) ) { encoding . resetTag ( DerValue . tag_Sequence ) ; fullName = new GeneralNames ( encoding ) ; } else if ( encoding . isContextSpecific ( TAG_RELATIVE_NAME ) && encoding . isConstructed ( ) ) { encoding . resetTag ( DerValue . tag_Set ) ; relativeName = new RDN ( encoding ) ; } else { throw new IOException ( "Invalid encoding for DistributionPointName" ) ; } }
creates a distribution point name from its der - encoded form .
