OctetSeqHolder osh = new OctetSeqHolder() ;
EncapsInputStream is = EncapsInputStreamFactory.newEncapsInputStream( orb, key, key.length );
ObjectKeyTemplate oktemp = create( is, fullKey, osh ) ;
if (oktemp == null)
oktemp = new WireObjectKeyTemplate( is, osh ) ;
ObjectId oid = new ObjectIdImpl( osh.value ) ;
return new ObjectKeyImpl( oktemp, oid ) ;
}